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

kdf

  • sources
  • kde-4.14
  • kdeutils
  • kdf
stdoption.h
Go to the documentation of this file.
1 /*
2 **
3 ** Copyright (C) 1998 by Michael Kropfberger <michael.kropfberger@gmx.net>
4 **
5 */
6 
7 /*
8 ** This program is free software; you can redistribute it and/or modify
9 ** it under the terms of the GNU General Public License as published by
10 ** the Free Software Foundation; either version 2 of the License, or
11 ** (at your option) any later version.
12 **
13 ** This program is distributed in the hope that it will be useful,
14 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
15 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ** GNU General Public License for more details.
17 **
18 ** You should have received a copy of the GNU General Public License
19 ** along with this program in a file called COPYING; if not, write to
20 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
21 ** MA 02110-1301, USA.
22 */
23 
24 /*
25 ** Bug reports and questions can be sent to <kde-devel@kde.org>
26 */
27 
28 #ifndef CSTDOPTION_H
29 #define CSTDOPTION_H
30 
31 #include <QtCore/QString>
32 //class QString;
33 
34 class CStdOption
35 {
36  public:
37  CStdOption( void );
38  ~CStdOption( void );
39 
40  void updateConfiguration( void );
41  void writeConfiguration( void );
42  void writeDefaultFileManager( void );
43 
44  QString fileManager( void );
45 
46  int updateFrequency( void );
47  bool popupIfFull( void );
48  bool openFileManager( void );
49 
50  void setDefault( void );
51  void setFileManager( const QString &fileManager );
52  void setUpdateFrequency( int frequency );
53  void setPopupIfFull( bool popupIfFull );
54  void setOpenFileManager( bool openFileManagerOnMount );
55 
56  private:
57  static QString mDefaultFileManager;
58  static int mDefaultUpdateFrequency;
59  QString mFileManager;
60  int mUpdateFrequency;
61  bool mPopupIfFull;
62  bool mOpenFileManagerOnMount;
63 };
64 
65 #endif
66 
CStdOption::writeConfiguration
void writeConfiguration(void)
Definition: stdoption.cpp:65
CStdOption::setUpdateFrequency
void setUpdateFrequency(int frequency)
Definition: stdoption.cpp:124
CStdOption::setFileManager
void setFileManager(const QString &fileManager)
Definition: stdoption.cpp:118
CStdOption::popupIfFull
bool popupIfFull(void)
Definition: stdoption.cpp:97
CStdOption::openFileManager
bool openFileManager(void)
Definition: stdoption.cpp:103
CStdOption::writeDefaultFileManager
void writeDefaultFileManager(void)
Definition: stdoption.cpp:76
CStdOption
Definition: stdoption.h:34
QString
CStdOption::setPopupIfFull
void setPopupIfFull(bool popupIfFull)
Definition: stdoption.cpp:130
CStdOption::fileManager
QString fileManager(void)
Definition: stdoption.cpp:85
CStdOption::setDefault
void setDefault(void)
Definition: stdoption.cpp:109
CStdOption::~CStdOption
~CStdOption(void)
Definition: stdoption.cpp:46
CStdOption::CStdOption
CStdOption(void)
Definition: stdoption.cpp:40
CStdOption::setOpenFileManager
void setOpenFileManager(bool openFileManagerOnMount)
Definition: stdoption.cpp:136
CStdOption::updateFrequency
int updateFrequency(void)
Definition: stdoption.cpp:91
CStdOption::updateConfiguration
void updateConfiguration(void)
Definition: stdoption.cpp:51
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:42:23 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdf

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

kdeutils API Reference

Skip menu "kdeutils API Reference"
  • ark
  • filelight
  • kcalc
  • kcharselect
  • kdf
  • kfloppy
  • kgpg
  • ktimer
  • kwallet
  • sweeper

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal