Warning, file /utilities/kdf/src/stdoption.h was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001 /* 0002 SPDX-FileCopyrightText: 1998 Michael Kropfberger <michael.kropfberger@gmx.net> 0003 SPDX-License-Identifier: GPL-2.0-or-later 0004 */ 0005 0006 /* 0007 ** Bug reports and questions can be sent to <kde-devel@kde.org> 0008 */ 0009 0010 #ifndef CSTDOPTION_H 0011 #define CSTDOPTION_H 0012 0013 #include "kdfprivate_export.h" 0014 0015 #include <QString> 0016 0017 class KDFPRIVATE_EXPORT CStdOption 0018 { 0019 public: 0020 CStdOption(); 0021 ~CStdOption(); 0022 0023 void updateConfiguration(); 0024 void writeConfiguration(); 0025 void writeDefaultFileManager(); 0026 0027 QString fileManager() const; 0028 0029 int updateFrequency() const; 0030 bool popupIfFull() const; 0031 bool openFileManager() const; 0032 bool useSystemFileManager() const; 0033 0034 void setDefault( ); 0035 void setFileManager( const QString &fileManager ); 0036 void setUpdateFrequency( int frequency ); 0037 void setPopupIfFull( bool popupIfFull ); 0038 void setOpenFileManager( bool openFileManagerOnMount ); 0039 void setUseSystemFileManager( bool useSystemFileManager ); 0040 0041 private: 0042 static QString mDefaultFileManager; 0043 static int mDefaultUpdateFrequency; 0044 QString mFileManager; 0045 int mUpdateFrequency; 0046 bool mPopupIfFull; 0047 bool mOpenFileManagerOnMount; 0048 bool mUseSystemFileManager; 0049 }; 0050 0051 #endif 0052