22 #include "general_base.h" 23 #include "myoptions_base.h" 25 #include <libtdepim/kprefsdialog.h> 27 #include <tdeaboutdata.h> 28 #include <tdeapplication.h> 30 #include <tdelocale.h> 31 #include <tdecmdlineargs.h> 32 #include <tdeglobal.h> 33 #include <tdeconfig.h> 34 #include <kstandarddirs.h> 35 #include <kautoconfigdialog.h> 39 int main( int argc, char **argv ) 41 TDEAboutData aboutData( "example", I18N_NOOP( "autoconfig example"), "0.1" ); 42 aboutData.addAuthor( "Cornelius Schumacher", 0, "schumacher@kde.org" ); 44 TDECmdLineArgs::init( argc, argv, &aboutData ); 49 KAutoConfigDialog *dialog = new KAutoConfigDialog(0, "settings"); 53 GeneralBase *general = new GeneralBase( 0 ); 54 dialog->addPage( general, i18n( "General"), "General", "" ); 56 MyOptionsBase *myOptions = new MyOptionsBase( 0 ); 59 dialog->addPage( myOptions, i18n( "MyOptions"), "MyOptions", "" );
|