Rename KUniqueApplication to TDEUniqueApplication

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
master
Michele Calgaro 2 weeks ago
parent b904ec9c88
commit ef09a34f3a
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -21,7 +21,7 @@
#include <tdeaboutdata.h>
#include <tdelocale.h>
#include <kstandarddirs.h>
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#include <dcopclient.h>
#include <tqmessagebox.h>
#include <tdeconfig.h>
@ -52,9 +52,9 @@ int main(int argc, char *argv[])
aboutData.addCredit("Joe Betts");
TDECmdLineArgs::init( argc, argv, &aboutData );
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
KUniqueApplication::addCmdLineOptions();
TDEUniqueApplication::addCmdLineOptions();
if (!KUniqueApplication::start()) {
if (!TDEUniqueApplication::start()) {
DCOPClient *client = new DCOPClient();
client->attach();
TQByteArray data;
@ -68,7 +68,7 @@ int main(int argc, char *argv[])
delete client;
exit(0);
}
KUniqueApplication a;
TDEUniqueApplication a;
KMouseTool *kmousetool = new KMouseTool();

@ -19,7 +19,6 @@
#include <tdecmdlineargs.h>
#include <tdeaboutdata.h>
#include <tdelocale.h>
#include <kuniqueapplication.h>
#include "kmouth.h"
#include "version.h"

@ -22,7 +22,7 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
******************************************************************************/
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
#include <kdebug.h>
@ -46,14 +46,14 @@ int main (int argc, char *argv[]){
TDECmdLineArgs::init( argc, argv, &aboutdata );
// TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
TDEUniqueApplication::addCmdLineOptions();
if(!KUniqueApplication::start()){
if(!TDEUniqueApplication::start()){
kdDebug() << "KTTSD is already running" << endl;
return (0);
}
KUniqueApplication app;
TDEUniqueApplication app;
// This app is started automatically, no need for session management
app.disableSessionManagement();
// TODO: kspeech is obsolete. Use KSpeech instead. For backwards compatibility,

@ -27,7 +27,7 @@
// KDE includes.
#include <tdeconfig.h>
#include <kuniqueapplication.h>
#include <tdeuniqueapplication.h>
#include <kcmultidialog.h>
#include <tdeaboutdata.h>
#include <tdecmdlineargs.h>
@ -70,15 +70,15 @@ int main (int argc, char *argv[])
TDECmdLineArgs::addCmdLineOptions( options );
KUniqueApplication::addCmdLineOptions();
TDEUniqueApplication::addCmdLineOptions();
if(!KUniqueApplication::start())
if(!TDEUniqueApplication::start())
{
kdDebug() << "kttsmgr is already running" << endl;
return (0);
}
KUniqueApplication app;
TDEUniqueApplication app;
#if TDE_VERSION >= TDE_MAKE_VERSION (3,3,90)
TQPixmap icon = TDEGlobal::iconLoader()->loadIcon("kttsd", TDEIcon::Panel);

Loading…
Cancel
Save