summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete/kopetewalletmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete/kopetewalletmanager.cpp')
-rw-r--r--kopete/libkopete/kopetewalletmanager.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kopete/libkopete/kopetewalletmanager.cpp b/kopete/libkopete/kopetewalletmanager.cpp
index e1d198fc..f17c73b8 100644
--- a/kopete/libkopete/kopetewalletmanager.cpp
+++ b/kopete/libkopete/kopetewalletmanager.cpp
@@ -22,13 +22,13 @@
#include <kstaticdeleter.h>
#include <kwallet.h>
-#include <qtimer.h>
-#include <qwidget.h>
-#include <qapplication.h>
+#include <tqtimer.h>
+#include <tqwidget.h>
+#include <tqapplication.h>
static WId mainWindowID()
{
- if ( QWidget *w = Kopete::UI::Global::mainWidget() )
+ if ( TQWidget *w = Kopete::UI::Global::mainWidget() )
return w->winId();
return 0;
}
@@ -72,13 +72,13 @@ Kopete::WalletManager *Kopete::WalletManager::self()
return s_self;
}
-void Kopete::WalletManager::openWallet( QObject *object, const char *slot )
+void Kopete::WalletManager::openWallet( TQObject *object, const char *slot )
{
if ( !d->signal )
d->signal = new KopeteWalletSignal;
// allow connecting to protected slots by calling object->connect
- connect( d->signal, SIGNAL( walletOpened( KWallet::Wallet* ) ), object, slot );
- //object->connect( d->signal, SIGNAL( walletOpened( KWallet::Wallet* ) ), slot );
+ connect( d->signal, TQT_SIGNAL( walletOpened( KWallet::Wallet* ) ), object, slot );
+ //object->connect( d->signal, TQT_SIGNAL( walletOpened( KWallet::Wallet* ) ), slot );
openWalletInner();
}
@@ -92,7 +92,7 @@ void Kopete::WalletManager::openWalletInner()
if ( d->wallet->isOpen() )
{
kdDebug(14010) << k_funcinfo << " wallet already open" << endl;
- QTimer::singleShot( 0, this, SLOT( slotGiveExistingWallet() ) );
+ TQTimer::singleShot( 0, this, TQT_SLOT( slotGiveExistingWallet() ) );
}
else
{
@@ -107,7 +107,7 @@ void Kopete::WalletManager::openWalletInner()
d->wallet = KWallet::Wallet::openWallet( KWallet::Wallet::NetworkWallet(),
mainWindowID(), KWallet::Wallet::Asynchronous );
- connect( d->wallet, SIGNAL( walletOpened(bool) ), SLOT( slotWalletChangedStatus() ) );
+ connect( d->wallet, TQT_SIGNAL( walletOpened(bool) ), TQT_SLOT( slotWalletChangedStatus() ) );
}
void Kopete::WalletManager::slotWalletChangedStatus()
@@ -116,13 +116,13 @@ void Kopete::WalletManager::slotWalletChangedStatus()
if( d->wallet->isOpen() )
{
- if ( !d->wallet->hasFolder( QString::fromLatin1( "Kopete" ) ) )
- d->wallet->createFolder( QString::fromLatin1( "Kopete" ) );
+ if ( !d->wallet->hasFolder( TQString::fromLatin1( "Kopete" ) ) )
+ d->wallet->createFolder( TQString::fromLatin1( "Kopete" ) );
- if ( d->wallet->setFolder( QString::fromLatin1( "Kopete" ) ) )
+ if ( d->wallet->setFolder( TQString::fromLatin1( "Kopete" ) ) )
{
// success!
- QObject::connect( d->wallet, SIGNAL( walletClosed() ), this, SLOT( closeWallet() ) );
+ TQObject::connect( d->wallet, TQT_SIGNAL( walletClosed() ), this, TQT_SLOT( closeWallet() ) );
}
else
{