From 4b808f07f04092e84bb907c2d3a815406507409f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 10 Nov 2024 17:12:44 +0900 Subject: Rename KUniqueApplication to TDEUniqueApplication Signed-off-by: Michele Calgaro --- kopete/kopete/kopeteapplication.cpp | 10 +++++----- kopete/kopete/kopeteapplication.h | 4 ++-- kopete/kopete/main.cpp | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'kopete') diff --git a/kopete/kopete/kopeteapplication.cpp b/kopete/kopete/kopeteapplication.cpp index 263ed973..342b03f5 100644 --- a/kopete/kopete/kopeteapplication.cpp +++ b/kopete/kopete/kopeteapplication.cpp @@ -52,7 +52,7 @@ #endif KopeteApplication::KopeteApplication() -: KUniqueApplication( true, true, true ) +: TDEUniqueApplication( true, true, true ) { m_isShuttingDown = false; m_mainWindow = new KopeteWindow( 0, "mainWindow" ); @@ -274,18 +274,18 @@ int KopeteApplication::newInstance() * The following three lines work around a problem that * Kopete has since it has multiple main windows so * qapp->mainWidget() returns 0, which breaks the normal - * KUniqueApplication::newInstance() behavior that raises + * TDEUniqueApplication::newInstance() behavior that raises * the window when we run a new instance. * * 1. Set the main widget to the contact list window - * 2. Call KUniqueApplication::newInstance() + * 2. Call TDEUniqueApplication::newInstance() * 3. Set the main widget back to 0 * * This little workaround fixes the problem. -Matt */ setMainWidget( m_mainWindow ); - int kUnitqAppReturnCode = KUniqueApplication::newInstance(); + int kUnitqAppReturnCode = TDEUniqueApplication::newInstance(); setMainWidget( 0L ); return kUnitqAppReturnCode; @@ -331,7 +331,7 @@ void KopeteApplication::quitKopete() void KopeteApplication::commitData( TQSessionManager &sm ) { m_isShuttingDown = true; - KUniqueApplication::commitData( sm ); + TDEUniqueApplication::commitData( sm ); } #include "kopeteapplication.moc" diff --git a/kopete/kopete/kopeteapplication.h b/kopete/kopete/kopeteapplication.h index 8490684e..ed363ed9 100644 --- a/kopete/kopete/kopeteapplication.h +++ b/kopete/kopete/kopeteapplication.h @@ -26,7 +26,7 @@ #include -#include +#include class KopeteWindow; class TQSessionManager; @@ -40,7 +40,7 @@ namespace Kopete /** * @author Duncan Mac-Vicar P. */ -class KopeteApplication : public KUniqueApplication +class KopeteApplication : public TDEUniqueApplication { TQ_OBJECT diff --git a/kopete/kopete/main.cpp b/kopete/kopete/main.cpp index 04656f8f..68218d78 100644 --- a/kopete/kopete/main.cpp +++ b/kopete/kopete/main.cpp @@ -98,7 +98,7 @@ int main( int argc, char *argv[] ) TDECmdLineArgs::init( argc, argv, &aboutData ); TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options. - KUniqueApplication::addCmdLineOptions(); + TDEUniqueApplication::addCmdLineOptions(); KopeteApplication kopete; new KIMIfaceImpl(); -- cgit v1.2.1