From 9c02dbb59ce57c68dc177d9294b980bf114a3e11 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 24 Jul 2013 15:59:03 -0500 Subject: Update to TDE R14 API --- doc/html/main_8cpp-source.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'doc/html/main_8cpp-source.html') diff --git a/doc/html/main_8cpp-source.html b/doc/html/main_8cpp-source.html index 51439ae..2f8c875 100644 --- a/doc/html/main_8cpp-source.html +++ b/doc/html/main_8cpp-source.html @@ -33,10 +33,10 @@ 00016 ***************************************************************************/ 00017 00018 //KDE-Header -00019 #include <kcmdlineargs.h> -00020 #include <kaboutdata.h> +00019 #include <tdecmdlineargs.h> +00020 #include <tdeaboutdata.h> 00021 #include <kuniqueapplication.h> -00022 #include <klocale.h> +00022 #include <tdelocale.h> 00023 #include <kdebug.h> 00024 00025 //KShowmail-Header @@ -51,24 +51,24 @@ 00034 00035 //the command line options 00036 //see constants.h -00037 static KCmdLineOptions kshowmailOptions[] = +00037 static TDECmdLineOptions kshowmailOptions[] = 00038 { 00039 { CMDLINE_REFRESH_SHORT, 0, 0}, 00040 { CMDLINE_REFRESH, I18N_NOOP("Refresh messages now"), 0 }, 00041 { CMDLINE_CONFIG_SHORT, 0, 0}, 00042 { CMDLINE_CONFIG, I18N_NOOP("Launch configure dialog"), 0 }, -00043 KCmdLineLastOption +00043 TDECmdLineLastOption 00044 }; 00045 00046 int main(int argc, char *argv[]) 00047 { 00048 //create datas for the about box -00049 KShowMailApp::m_pAbout = new KAboutData ( +00049 KShowMailApp::m_pAbout = new TDEAboutData ( 00050 /*appName */ "kshowmail", 00051 /*programName*/ "KShowmail", 00052 /*version */ VERSION, 00053 /*description*/ description, -00054 /*license */ KAboutData::License_GPL_V2, +00054 /*license */ TDEAboutData::License_GPL_V2, 00055 /*copyright */ "(C) 2000-2005, Eggert Ehmke", 00056 /*text */ 0, 00057 /*homepage */ "http://sourceforge.net/projects/kshowmail", @@ -82,17 +82,17 @@ 00065 KShowMailApp::m_pAbout->setTranslator(I18N_NOOP("_: NAME OF TRANSLATORS\nYour names") ,I18N_NOOP("_: EMAIL OF TRANSLATORS\nYour emails")); 00066 00067 //Initialize command line arguments -00068 KCmdLineArgs::init(argc, argv, KShowMailApp::m_pAbout); +00068 TDECmdLineArgs::init(argc, argv, KShowMailApp::m_pAbout); 00069 //add the special command line options of kshowmail which was specified above -00070 KCmdLineArgs::addCmdLineOptions(kshowmailOptions); +00070 TDECmdLineArgs::addCmdLineOptions(kshowmailOptions); 00071 00072 // when released, this must be 0! 00073 #if 0 00074 00075 kdDebug () << "KShowmail running in debug mode" << endl; -00076 KApplication::addCmdLineOptions(); +00076 TDEApplication::addCmdLineOptions(); 00077 -00078 KApplication app; +00078 TDEApplication app; 00079 KShowMailApp* kshow = new KShowMailApp (); 00080 kshow->show(); 00081 app.exec(); -- cgit v1.2.1