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 )
35 TDEAboutData aboutData(
"example", I18N_NOOP(
"cfgc example"),
"0.1" );
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;
50 kdWarning() <<
"MyPaths = " << prefs->myPaths() <<
endl;
51 kdWarning() <<
"MyPaths2 = " << prefs->myPaths2() <<
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.
kndbgstream & endl(kndbgstream &s)
Does nothing.