Falkon Develop
Cross-platform Qt-based web browser
DataPaths Class Reference

#include <datapaths.h>

Public Types

enum  Path {
  AppData = 0 , Themes , Plugins , Config ,
  Profiles , CurrentProfile , Temp , Cache ,
  Sessions , LastPath
}
 

Public Member Functions

 DataPaths ()
 
 ~DataPaths ()
 

Static Public Member Functions

static void setCurrentProfilePath (const QString &profilePath)
 
static void setPortableVersion ()
 
static QString path (Path type)
 
static QStringList allPaths (Path type)
 
static QString locate (Path type, const QString &file)
 
static QString currentProfilePath ()
 

Detailed Description

Definition at line 27 of file datapaths.h.

Member Enumeration Documentation

◆ Path

Enumerator
AppData 
Themes 
Plugins 
Config 
Profiles 
CurrentProfile 
Temp 
Cache 
Sessions 
LastPath 

Definition at line 30 of file datapaths.h.

Constructor & Destructor Documentation

◆ DataPaths()

DataPaths::DataPaths ( )
explicit

Definition at line 31 of file datapaths.cpp.

◆ ~DataPaths()

DataPaths::~DataPaths ( )
default

Member Function Documentation

◆ allPaths()

QStringList DataPaths::allPaths ( DataPaths::Path  type)
static

Definition at line 74 of file datapaths.cpp.

◆ currentProfilePath()

QString DataPaths::currentProfilePath ( )
static

Definition at line 95 of file datapaths.cpp.

◆ locate()

QString DataPaths::locate ( Path  type,
const QString &  file 
)
static

Definition at line 82 of file datapaths.cpp.

◆ path()

QString DataPaths::path ( DataPaths::Path  path)
static

Definition at line 66 of file datapaths.cpp.

◆ setCurrentProfilePath()

void DataPaths::setCurrentProfilePath ( const QString &  profilePath)
static

Definition at line 40 of file datapaths.cpp.

◆ setPortableVersion()

void DataPaths::setPortableVersion ( )
static

Definition at line 46 of file datapaths.cpp.


The documentation for this class was generated from the following files: