• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdeutils
  • Sitemap
  • Contact Us
 

kdf

stdoption.h

Go to the documentation of this file.
00001 /*
00002 **
00003 ** Copyright (C) 1998 by Michael Kropfberger
00004 **
00005 */
00006 
00007 /*
00008 ** This program is free software; you can redistribute it and/or modify
00009 ** it under the terms of the GNU General Public License as published by
00010 ** the Free Software Foundation; either version 2 of the License, or
00011 ** (at your option) any later version.
00012 **
00013 ** This program is distributed in the hope that it will be useful,
00014 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00015 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00016 ** GNU General Public License for more details.
00017 **
00018 ** You should have received a copy of the GNU General Public License
00019 ** along with this program in a file called COPYING; if not, write to
00020 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00021 ** MA 02110-1301, USA.
00022 */
00023 
00024 /*
00025 ** Bug reports and questions can be sent to <kde-devel@kde.org>
00026 */
00027 
00028 #ifndef _STD_OPTION_H_
00029 #define _STD_OPTION_H_
00030 
00031 #include <QtCore/QString>
00032 
00033 class CStdOption
00034 {
00035   public:
00036     CStdOption( void );
00037     ~CStdOption( void );
00038 
00039     void updateConfiguration( void );
00040     void writeConfiguration( void );
00041     void writeDefaultFileManager( void );
00042 
00043     QString fileManager( void );
00044 
00045     int     updateFrequency( void );
00046     bool    popupIfFull( void );
00047     bool    openFileManager( void );
00048 
00049     void setDefault( void );
00050     void setFileManager( const QString &fileManager );
00051     void setUpdateFrequency( int frequency );
00052     void setPopupIfFull( bool popupIfFull );
00053     void setOpenFileManager( bool openFileManagerOnMount );
00054 
00055   private:
00056     static QString mDefaultFileManager;
00057     static int mDefaultUpdateFrequency;
00058     QString mFileManager;
00059     int     mUpdateFrequency;
00060     bool    mPopupIfFull;
00061     bool    mOpenFileManagerOnMount;
00062 };
00063 
00064 #endif
00065 
00066 
00067 
00068 
00069 
00070 
00071 
00072 
00073 

kdf

Skip menu "kdf"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members

kdeutils

Skip menu "kdeutils"
  • ark
  • kcalc
  • kcharselect
  • kdessh
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • okteta
  • printer-applet
  • superkaramba
  • sweeper
Generated for kdeutils by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal