22#include "exampleprefs_base.h"
24#include <tdeaboutdata.h>
25#include <tdeapplication.h>
28#include <tdecmdlineargs.h>
31#include <tdestandarddirs.h>
33int main(
int argc,
char **argv )
36 aboutData.addAuthor(
"Cornelius Schumacher", 0,
"schumacher@kde.org" );
42 ExamplePrefsBase *prefs =
new ExamplePrefsBase(
"Trans1",
"Folder2");
46 prefs->setAnotherOption(17);
48 kdWarning() <<
"Another Option = " << prefs->anotherOption() <<
endl;
49 kdWarning() <<
"Another Option2 = " << prefs->anotherOption2() <<
endl;
This class is used to store information about a program.
Controls and provides information to all KDE applications.
static void init(int _argc, char **_argv, const char *_appname, const char *programName, const char *_description, const char *_version, bool noTDEApp=false)
Initialize class.
#define I18N_NOOP(x)
I18N_NOOP marks a string to be translated without translating it.
kdbgstream kdWarning(int area=0)
Returns a warning stream.
kdbgstream & endl(kdbgstream &s)
Prints an "\n".