22 #include "general_base.h"
23 #include "myoptions_base.h"
25 #include "exampleprefs_base.h"
27 #include <tdeaboutdata.h>
28 #include <tdeapplication.h>
31 #include <tdecmdlineargs.h>
32 #include <tdeglobal.h>
33 #include <tdeconfig.h>
34 #include <kstandarddirs.h>
35 #include <tdeconfigdialog.h>
39 int main(
int argc,
char **argv )
42 aboutData.addAuthor(
"Cornelius Schumacher", 0,
"schumacher@kde.org" );
48 ExamplePrefsBase configSkeleton(
"dummy1",
"dummy2" );
49 configSkeleton.readConfig();
53 GeneralBase *general =
new GeneralBase( 0 );
54 dialog->
addPage( general,
i18n(
"General"),
"General",
"" );
56 MyOptionsBase *myOptions =
new MyOptionsBase( 0 );
57 dialog->
addPage( myOptions,
i18n(
"MyOptions"),
"MyOptions",
"" );
59 app.setMainWidget( dialog );
This class is used to store information about a program.
TQString i18n(const char *text)
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 noKApp=false)
Initialize class.
void addPage(TQWidget *page, const TQString &itemName, const TQString &pixmapName, const TQString &header=TQString::null, bool manage=true)