diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-21 17:24:41 -0500 |
---|---|---|
committer | Darrell Anderson <humanreadable@yahoo.com> | 2012-04-21 17:24:41 -0500 |
commit | 554196e439ddc0dc212f5034639d734ae4c3e0eb (patch) | |
tree | 30bbba96481dff1fd30e878bcee39f7865d79fe2 /tdecore | |
parent | 053ba114a5bff968bbb3be230591e6c3240e42a3 (diff) | |
download | tdelibs-554196e439ddc0dc212f5034639d734ae4c3e0eb.tar.gz tdelibs-554196e439ddc0dc212f5034639d734ae4c3e0eb.zip |
Update branding with command line --help generic options.
Diffstat (limited to 'tdecore')
-rw-r--r-- | tdecore/kapplication.cpp | 16 | ||||
-rw-r--r-- | tdecore/kcmdlineargs.cpp | 18 | ||||
-rw-r--r-- | tdecore/kuniqueapplication.cpp | 2 |
3 files changed, 18 insertions, 18 deletions
diff --git a/tdecore/kapplication.cpp b/tdecore/kapplication.cpp index ed149efaa..5c60e6ff2 100644 --- a/tdecore/kapplication.cpp +++ b/tdecore/kapplication.cpp @@ -856,7 +856,7 @@ void KApplication::init(bool GUIenabled) // world writable directories struct group *man = getgrnam("man"); if ( !man || man->gr_gid != getegid() ){ - fprintf(stderr, "The KDE libraries are not designed to run with suid privileges.\n"); + fprintf(stderr, "The TDE libraries are not designed to run with suid privileges.\n"); ::exit(127); } } @@ -1063,7 +1063,7 @@ DCOPClient *KApplication::dcopClient() return s_DCOPClient; s_DCOPClient = new DCOPClient(); - KCmdLineArgs *args = KCmdLineArgs::parsedArgs("kde"); + KCmdLineArgs *args = KCmdLineArgs::parsedArgs("tde"); if (args && args->isSet("dcopserver")) { s_DCOPClient->setServerAddress( args->getOption("dcopserver")); @@ -1160,7 +1160,7 @@ void KApplication::disableSessionManagement() { void KApplication::enableSessionManagement() { bSessionManagement = true; #ifdef Q_WS_X11 - // Session management support in Qt/KDE is awfully broken. + // Session management support in Qt/TDE is awfully broken. // If konqueror disables session management right after its startup, // and enables it later (preloading stuff), it won't be properly // saved on session shutdown. @@ -1481,7 +1481,7 @@ void KApplication::dcopFailure(const TQString &msg) return; #endif TQString msgStr(i18n("There was an error setting up inter-process " - "communications for KDE. The message returned " + "communications for TDE. The message returned " "by the system was:\n\n")); msgStr += msg; msgStr += i18n("\n\nPlease check that the \"dcopserver\" program is running!"); @@ -1563,12 +1563,12 @@ void KApplication::addCmdLineOptions() { KCmdLineArgs::addCmdLineOptions(qt_options, "Qt", "qt"); - KCmdLineArgs::addCmdLineOptions(kde_options, "KDE", "kde"); + KCmdLineArgs::addCmdLineOptions(kde_options, "TDE", "tde"); } void KApplication::parseCommandLine( ) { - KCmdLineArgs *args = KCmdLineArgs::parsedArgs("kde"); + KCmdLineArgs *args = KCmdLineArgs::parsedArgs("tde"); if ( !args ) return; @@ -2583,7 +2583,7 @@ void KApplication::invokeHelp( const TQString& anchor, { if (Tty != kapp->type()) TQMessageBox::critical(kapp->mainWidget(), i18n("Could not Launch Help Center"), - i18n("Could not launch the KDE Help Center:\n\n%1").arg(error), i18n("&OK")); + i18n("Could not launch the TDE Help Center:\n\n%1").arg(error), i18n("&OK")); else kdWarning() << "Could not launch help:\n" << error << endl; return; @@ -2618,7 +2618,7 @@ void KApplication::invokeHTMLHelp( const TQString& _filename, const TQString& to { if (Tty != kapp->type()) TQMessageBox::critical(kapp->mainWidget(), i18n("Could not Launch Help Center"), - i18n("Could not launch the KDE Help Center:\n\n%1").arg(error), i18n("&OK")); + i18n("Could not launch the TDE Help Center:\n\n%1").arg(error), i18n("&OK")); else kdWarning() << "Could not launch help:\n" << error << endl; return; diff --git a/tdecore/kcmdlineargs.cpp b/tdecore/kcmdlineargs.cpp index c070c048d..7abc46f7a 100644 --- a/tdecore/kcmdlineargs.cpp +++ b/tdecore/kcmdlineargs.cpp @@ -145,7 +145,7 @@ void KCmdLineArgs::initIgnore(int _argc, char **_argv, const char *_appname ) { init(_argc, _argv, - new KAboutData(_appname, _appname, "unknown", "KDE Application", false)); + new KAboutData(_appname, _appname, "unknown", "TDE Application", false)); ignoreUnknown = true; } @@ -240,9 +240,9 @@ KCmdLineArgs::saveAppArgs( TQDataStream &ds) if (!parsed) parseAllArgs(); - // Remove Qt and KDE options. + // Remove Qt and TDE options. removeArgs("qt"); - removeArgs("kde"); + removeArgs("tde"); TQCString qCwd = mCwd; ds << qCwd; @@ -265,9 +265,9 @@ KCmdLineArgs::loadAppArgs( TQDataStream &ds) { parsed = true; // don't reparse argc/argv! - // Remove Qt and KDE options. + // Remove Qt and TDE options. removeArgs("qt"); - removeArgs("kde"); + removeArgs("tde"); KCmdLineArgs *args; if ( argsList ) { @@ -625,8 +625,8 @@ KCmdLineArgs::parseAllArgs() { if (!about->customAuthorTextEnabled ()) { - if (about->bugAddress().isEmpty() || about->bugAddress() == "submit@bugs.kde.org" ) - printQ( i18n( "Please use http://bugs.kde.org to report bugs.\n" ) ); + if (about->bugAddress().isEmpty() || about->bugAddress() == "bugs.pearsoncomputing.net" ) + printQ( i18n( "Please use http://bugs.pearsoncomputing.net to report bugs.\n" ) ); else { if( about->authors().count() == 1 && about->authors().first().emailAddress() == about->bugAddress() ) printQ( i18n( "Please report bugs to %1.\n" ).arg( about->authors().first().emailAddress() ) ); @@ -1286,12 +1286,12 @@ static const KCmdLineOptions kde_tempfile_option[] = void KCmdLineArgs::addTempFileOption() { - KCmdLineArgs::addCmdLineOptions( kde_tempfile_option, "KDE-tempfile", "kde-tempfile" ); + KCmdLineArgs::addCmdLineOptions( kde_tempfile_option, "TDE-tempfile", "tde-tempfile" ); } bool KCmdLineArgs::isTempFileSet() { - KCmdLineArgs* args = KCmdLineArgs::parsedArgs( "kde-tempfile" ); + KCmdLineArgs* args = KCmdLineArgs::parsedArgs( "tde-tempfile" ); if ( args ) return args->isSet( "tempfile" ); return false; diff --git a/tdecore/kuniqueapplication.cpp b/tdecore/kuniqueapplication.cpp index 686f40e86..5f7087313 100644 --- a/tdecore/kuniqueapplication.cpp +++ b/tdecore/kuniqueapplication.cpp @@ -86,7 +86,7 @@ public: void KUniqueApplication::addCmdLineOptions() { - KCmdLineArgs::addCmdLineOptions(kunique_options, 0, "kuniqueapp", "kde" ); + KCmdLineArgs::addCmdLineOptions(kunique_options, 0, "kuniqueapp", "tde" ); } bool |