PCManFM-Qt
Public Types | Public Member Functions | Static Public Member Functions | List of all members
PCManFM::Settings Class Reference
Inheritance diagram for PCManFM::Settings:

Public Types

enum  IconType { Small , Big , Thumbnail }
 

Public Member Functions

bool load (QString profile=QStringLiteral("default"))
 
bool save (QString profile=QString())
 
bool loadFile (QString filePath)
 
bool saveFile (QString filePath)
 
QString profileDir (QString profile, bool useFallback=false)
 
QString profileName () const
 
bool supportTrash () const
 
QString fallbackIconThemeName () const
 
bool useFallbackIconTheme () const
 
void setFallbackIconThemeName (QString iconThemeName)
 
bool singleWindowMode () const
 
void setSingleWindowMode (bool singleWindowMode)
 
OpenDirTargetType bookmarkOpenMethod ()
 
void setBookmarkOpenMethod (OpenDirTargetType bookmarkOpenMethod)
 
QString suCommand () const
 
void setSuCommand (QString suCommand)
 
QString terminal ()
 
void setTerminal (QString terminalCommand)
 
QString archiver () const
 
void setArchiver (QString archiver)
 
bool mountOnStartup () const
 
void setMountOnStartup (bool mountOnStartup)
 
bool mountRemovable ()
 
void setMountRemovable (bool mountRemovable)
 
bool autoRun () const
 
void setAutoRun (bool autoRun)
 
bool closeOnUnmount () const
 
void setCloseOnUnmount (bool value)
 
DesktopWindow::WallpaperMode wallpaperMode () const
 
void setWallpaperMode (int wallpaperMode)
 
QString wallpaper () const
 
void setWallpaper (QString wallpaper)
 
QSize wallpaperDialogSize () const
 
void setWallpaperDialogSize (const QSize &size)
 
int wallpaperDialogSplitterPos () const
 
void setWallpaperDialogSplitterPos (int pos)
 
QString wallpaperDir () const
 
void setLastSlide (QString wallpaper)
 
QString lastSlide () const
 
void setWallpaperDir (QString dir)
 
int slideShowInterval () const
 
void setSlideShowInterval (int interval)
 
bool wallpaperRandomize () const
 
void setWallpaperRandomize (bool randomize)
 
bool transformWallpaper () const
 
void setTransformWallpaper (bool tr)
 
bool perScreenWallpaper () const
 
void setPerScreenWallpaper (bool tr)
 
const QColor & desktopBgColor () const
 
void setDesktopBgColor (QColor desktopBgColor)
 
const QColor & desktopFgColor () const
 
void setDesktopFgColor (QColor desktopFgColor)
 
const QColor & desktopShadowColor () const
 
void setDesktopShadowColor (QColor desktopShadowColor)
 
QFont desktopFont () const
 
void setDesktopFont (QFont font)
 
int desktopIconSize () const
 
void setDesktopIconSize (int desktopIconSize)
 
QStringList desktopShortcuts () const
 
void setDesktopShortcuts (const QStringList &list)
 
bool desktopShowHidden () const
 
void setDesktopShowHidden (bool desktopShowHidden)
 
bool desktopHideItems () const
 
void setDesktopHideItems (bool hide)
 
Qt::SortOrder desktopSortOrder () const
 
void setDesktopSortOrder (Qt::SortOrder desktopSortOrder)
 
Fm::FolderModel::ColumnId desktopSortColumn () const
 
void setDesktopSortColumn (Fm::FolderModel::ColumnId desktopSortColumn)
 
bool desktopSortFolderFirst () const
 
void setDesktopSortFolderFirst (bool desktopFolderFirst)
 
bool desktopSortHiddenLast () const
 
void setDesktopSortHiddenLast (bool desktopHiddenLast)
 
bool alwaysShowTabs () const
 
void setAlwaysShowTabs (bool alwaysShowTabs)
 
bool showTabClose () const
 
void setShowTabClose (bool showTabClose)
 
bool switchToNewTab () const
 
void setSwitchToNewTab (bool showTabClose)
 
bool reopenLastTabs () const
 
void setReopenLastTabs (bool reopenLastTabs)
 
QStringList tabPaths () const
 
void setTabPaths (const QStringList &tabPaths)
 
bool rememberWindowSize () const
 
void setRememberWindowSize (bool rememberWindowSize)
 
int windowWidth () const
 
int windowHeight () const
 
bool windowMaximized () const
 
int fixedWindowWidth () const
 
void setFixedWindowWidth (int fixedWindowWidth)
 
int fixedWindowHeight () const
 
void setFixedWindowHeight (int fixedWindowHeight)
 
void setLastWindowWidth (int lastWindowWidth)
 
void setLastWindowHeight (int lastWindowHeight)
 
void setLastWindowMaximized (bool lastWindowMaximized)
 
int splitterPos () const
 
void setSplitterPos (int splitterPos)
 
bool isSidePaneVisible () const
 
void showSidePane (bool show)
 
Fm::SidePane::Mode sidePaneMode () const
 
void setSidePaneMode (Fm::SidePane::Mode sidePaneMode)
 
bool showMenuBar () const
 
void setShowMenuBar (bool showMenuBar)
 
bool splitView () const
 
void setSplitView (bool split)
 
Fm::FolderView::ViewMode viewMode () const
 
void setViewMode (Fm::FolderView::ViewMode viewMode)
 
bool showHidden () const
 
void setShowHidden (bool showHidden)
 
bool sortCaseSensitive () const
 
void setSortCaseSensitive (bool value)
 
QSet< QString > getHiddenPlaces () const
 
void setHiddenPlace (const QString &str, bool hide)
 
Qt::SortOrder sortOrder () const
 
void setSortOrder (Qt::SortOrder sortOrder)
 
Fm::FolderModel::ColumnId sortColumn () const
 
void setSortColumn (Fm::FolderModel::ColumnId sortColumn)
 
bool sortFolderFirst () const
 
void setSortFolderFirst (bool folderFirst)
 
bool sortHiddenLast () const
 
void setSortHiddenLast (bool hiddenLast)
 
bool showFilter () const
 
void setShowFilter (bool value)
 
bool pathBarButtons () const
 
void setPathBarButtons (bool value)
 
bool singleClick () const
 
void setSingleClick (bool singleClick)
 
int autoSelectionDelay () const
 
void setAutoSelectionDelay (int value)
 
bool ctrlRightClick () const
 
void setCtrlRightClick (bool value)
 
bool useTrash () const
 
void setUseTrash (bool useTrash)
 
bool confirmDelete () const
 
void setConfirmDelete (bool confirmDelete)
 
bool noUsbTrash () const
 
void setNoUsbTrash (bool noUsbTrash)
 
bool confirmTrash () const
 
void setConfirmTrash (bool value)
 
bool quickExec () const
 
void setQuickExec (bool value)
 
bool selectNewFiles () const
 
void setSelectNewFiles (bool value)
 
int bigIconSize () const
 
void setBigIconSize (int bigIconSize)
 
int smallIconSize () const
 
void setSmallIconSize (int smallIconSize)
 
int sidePaneIconSize () const
 
void setSidePaneIconSize (int sidePaneIconSize)
 
int thumbnailIconSize () const
 
QSize folderViewCellMargins () const
 
void setFolderViewCellMargins (QSize size)
 
QSize desktopCellMargins () const
 
void setDesktopCellMargins (QSize size)
 
bool openWithDefaultFileManager () const
 
void setOpenWithDefaultFileManager (bool open)
 
bool showThumbnails ()
 
void setShowThumbnails (bool show)
 
void setThumbnailLocalFilesOnly (bool value)
 
bool thumbnailLocalFilesOnly () const
 
int maxThumbnailFileSize () const
 
void setMaxThumbnailFileSize (int size)
 
int maxExternalThumbnailFileSize () const
 
void setMaxExternalThumbnailFileSize (int size)
 
void setThumbnailIconSize (int thumbnailIconSize)
 
bool siUnit ()
 
void setSiUnit (bool siUnit)
 
bool backupAsHidden () const
 
void setBackupAsHidden (bool value)
 
bool showFullNames () const
 
void setShowFullNames (bool value)
 
bool shadowHidden () const
 
void setShadowHidden (bool value)
 
bool noItemTooltip () const
 
void setNoItemTooltip (bool noTooltip)
 
bool onlyUserTemplates () const
 
void setOnlyUserTemplates (bool value)
 
bool templateTypeOnce () const
 
void setTemplateTypeOnce (bool value)
 
bool templateRunApp () const
 
void setTemplateRunApp (bool value)
 
FolderSettings loadFolderSettings (const Fm::FilePath &path) const
 
void saveFolderSettings (const Fm::FilePath &path, const FolderSettings &settings)
 
void clearFolderSettings (const Fm::FilePath &path) const
 
bool searchNameCaseInsensitive () const
 
void setSearchNameCaseInsensitive (bool caseInsensitive)
 
bool searchContentCaseInsensitive () const
 
void setsearchContentCaseInsensitive (bool caseInsensitive)
 
bool searchNameRegexp () const
 
void setSearchNameRegexp (bool reg)
 
bool searchContentRegexp () const
 
void setSearchContentRegexp (bool reg)
 
bool searchRecursive () const
 
void setSearchRecursive (bool rec)
 
bool searchhHidden () const
 
void setSearchhHidden (bool hidden)
 
QList< int > getCustomColumnWidths () const
 
void setCustomColumnWidths (const QList< int > &widths)
 
QList< int > getHiddenColumns () const
 
void setHiddenColumns (const QList< int > &columns)
 

Static Public Member Functions

static QString xdgUserConfigDir ()
 
static const QList< int > & iconSizes (IconType type)
 

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