summaryrefslogtreecommitdiffstats
path: root/kopete/libkopete
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/libkopete')
-rw-r--r--kopete/libkopete/avdevice/qvideostream.cpp4
-rw-r--r--kopete/libkopete/compat/kpixmapregionselectorwidget.cpp4
-rw-r--r--kopete/libkopete/kautoconfig.cpp76
-rw-r--r--kopete/libkopete/kautoconfig.h4
-rw-r--r--kopete/libkopete/kcautoconfigmodule.cpp16
-rw-r--r--kopete/libkopete/knotification.cpp12
-rw-r--r--kopete/libkopete/kopeteaccount.cpp30
-rw-r--r--kopete/libkopete/kopeteaccountmanager.cpp10
-rw-r--r--kopete/libkopete/kopeteaway.cpp4
-rw-r--r--kopete/libkopete/kopeteawayaction.cpp20
-rw-r--r--kopete/libkopete/kopeteawaydialog.cpp2
-rw-r--r--kopete/libkopete/kopetechatsession.cpp46
-rw-r--r--kopete/libkopete/kopetechatsessionmanager.cpp24
-rw-r--r--kopete/libkopete/kopetecommandhandler.cpp32
-rw-r--r--kopete/libkopete/kopetecontact.cpp34
-rw-r--r--kopete/libkopete/kopetecontactlist.cpp34
-rw-r--r--kopete/libkopete/kopetecontactlist.h2
-rw-r--r--kopete/libkopete/kopetecontactlistelement.cpp2
-rw-r--r--kopete/libkopete/kopetegroup.cpp4
-rw-r--r--kopete/libkopete/kopetemessageevent.cpp2
-rw-r--r--kopete/libkopete/kopetemessagehandler.cpp4
-rw-r--r--kopete/libkopete/kopetemessagehandlerchain.cpp4
-rw-r--r--kopete/libkopete/kopetemetacontact.cpp60
-rw-r--r--kopete/libkopete/kopeteonlinestatusmanager.cpp10
-rw-r--r--kopete/libkopete/kopetepassword.cpp12
-rw-r--r--kopete/libkopete/kopetepasswordedaccount.cpp2
-rw-r--r--kopete/libkopete/kopeteplugin.cpp2
-rw-r--r--kopete/libkopete/kopetepluginmanager.cpp14
-rw-r--r--kopete/libkopete/kopeteprotocol.cpp12
-rw-r--r--kopete/libkopete/kopetesimplemessagehandler.cpp2
-rw-r--r--kopete/libkopete/kopetetask.cpp16
-rw-r--r--kopete/libkopete/kopetetask.h4
-rw-r--r--kopete/libkopete/kopetetransfermanager.cpp14
-rw-r--r--kopete/libkopete/kopeteutils.cpp4
-rw-r--r--kopete/libkopete/kopetewalletmanager.cpp10
-rw-r--r--kopete/libkopete/managedconnectionaccount.cpp4
-rw-r--r--kopete/libkopete/private/kopetecommand.cpp4
-rw-r--r--kopete/libkopete/private/kopeteemoticons.cpp2
-rw-r--r--kopete/libkopete/private/kopeteviewmanager.cpp18
-rw-r--r--kopete/libkopete/tdeabcpersistence.cpp2
-rw-r--r--kopete/libkopete/tests/kopetepasswordtest_program.cpp6
-rw-r--r--kopete/libkopete/tests/kopetewallettest_program.cpp8
-rw-r--r--kopete/libkopete/ui/accountselector.cpp4
-rw-r--r--kopete/libkopete/ui/addressbooklinkwidget.cpp4
-rw-r--r--kopete/libkopete/ui/addressbookselectordialog.cpp2
-rw-r--r--kopete/libkopete/ui/addressbookselectorwidget.cpp22
-rw-r--r--kopete/libkopete/ui/contactaddednotifydialog.cpp6
-rw-r--r--kopete/libkopete/ui/contactaddednotifydialog.h4
-rw-r--r--kopete/libkopete/ui/kopetecontactaction.cpp4
-rw-r--r--kopete/libkopete/ui/kopetefileconfirmdialog.cpp2
-rw-r--r--kopete/libkopete/ui/kopetelistview.cpp10
-rw-r--r--kopete/libkopete/ui/kopetelistviewitem.cpp16
-rw-r--r--kopete/libkopete/ui/kopetepasswordwidget.cpp14
-rw-r--r--kopete/libkopete/ui/kopetestdaction.cpp2
-rw-r--r--kopete/libkopete/ui/kopeteview.h2
-rw-r--r--kopete/libkopete/ui/metacontactselectorwidget.cpp24
56 files changed, 346 insertions, 346 deletions
diff --git a/kopete/libkopete/avdevice/qvideostream.cpp b/kopete/libkopete/avdevice/qvideostream.cpp
index 5c4693b8..6002e1c8 100644
--- a/kopete/libkopete/avdevice/qvideostream.cpp
+++ b/kopete/libkopete/avdevice/qvideostream.cpp
@@ -540,8 +540,8 @@ QVideoStreamGLWidget::QVideoStreamGLWidget(TQWidget* parent, const char* name)
{
kdDebug() << "QVideoStreamGLWidget::QVideoStreamGLWidget()" << endl;
- connect(_w, TQT_SIGNAL(resized(int, int)),
- this, TQT_SLOT(resize(int, int)));
+ connect(_w, TQ_SIGNAL(resized(int, int)),
+ this, TQ_SLOT(resize(int, int)));
topLevelWidget()->installEventFilter(this);
_glfunTimer = new TQTimer();
diff --git a/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp b/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
index 4c8cd6fd..6f6df426 100644
--- a/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
+++ b/kopete/libkopete/compat/kpixmapregionselectorwidget.cpp
@@ -141,12 +141,12 @@ TDEPopupMenu *KPixmapRegionSelectorWidget::createPopupMenu()
popup->insertTitle(i18n("Image Operations"));
TDEAction *action = new TDEAction(i18n("&Rotate Clockwise"), "object-rotate-right",
- 0, this, TQT_SLOT(rotateClockwise()),
+ 0, this, TQ_SLOT(rotateClockwise()),
popup, "rotateclockwise");
action->plug(popup);
action = new TDEAction(i18n("Rotate &Counterclockwise"), "object-rotate-left",
- 0, this, TQT_SLOT(rotateCounterclockwise()),
+ 0, this, TQ_SLOT(rotateCounterclockwise()),
popup, "rotatecounterclockwise");
action->plug(popup);
diff --git a/kopete/libkopete/kautoconfig.cpp b/kopete/libkopete/kautoconfig.cpp
index 23215008..05457222 100644
--- a/kopete/libkopete/kautoconfig.cpp
+++ b/kopete/libkopete/kautoconfig.cpp
@@ -141,46 +141,46 @@ bool KAutoConfig::retrieveSettings(bool trackChanges){
if(trackChanges){
// QT
- changedMap.insert(TQString::fromLatin1("TQButton"), TQT_SIGNAL(stateChanged(int)));
- changedMap.insert(TQString::fromLatin1("TQCheckBox"), TQT_SIGNAL(stateChanged(int)));
- changedMap.insert(TQString::fromLatin1("TQPushButton"), TQT_SIGNAL(stateChanged(int)));
- changedMap.insert(TQString::fromLatin1("TQRadioButton"), TQT_SIGNAL(stateChanged(int)));
- changedMap.insert(TQString::fromLatin1("TQComboBox"), TQT_SIGNAL(activated (int)));
+ changedMap.insert(TQString::fromLatin1("TQButton"), TQ_SIGNAL(stateChanged(int)));
+ changedMap.insert(TQString::fromLatin1("TQCheckBox"), TQ_SIGNAL(stateChanged(int)));
+ changedMap.insert(TQString::fromLatin1("TQPushButton"), TQ_SIGNAL(stateChanged(int)));
+ changedMap.insert(TQString::fromLatin1("TQRadioButton"), TQ_SIGNAL(stateChanged(int)));
+ changedMap.insert(TQString::fromLatin1("TQComboBox"), TQ_SIGNAL(activated (int)));
//qsqlproperty map doesn't store the text, but the value!
- //changedMap.insert(TQString::fromLatin1("TQComboBox"), TQT_SIGNAL(textChanged(const TQString &)));
- changedMap.insert(TQString::fromLatin1("TQDateEdit"), TQT_SIGNAL(valueChanged(const TQDate &)));
- changedMap.insert(TQString::fromLatin1("TQDateTimeEdit"), TQT_SIGNAL(valueChanged(const TQDateTime &)));
- changedMap.insert(TQString::fromLatin1("TQDial"), TQT_SIGNAL(valueChanged (int)));
- changedMap.insert(TQString::fromLatin1("TQLineEdit"), TQT_SIGNAL(textChanged(const TQString &)));
- changedMap.insert(TQString::fromLatin1("TQSlider"), TQT_SIGNAL(valueChanged(int)));
- changedMap.insert(TQString::fromLatin1("TQSpinBox"), TQT_SIGNAL(valueChanged(int)));
- changedMap.insert(TQString::fromLatin1("TQTimeEdit"), TQT_SIGNAL(valueChanged(const TQTime &)));
- changedMap.insert(TQString::fromLatin1("TQTextEdit"), TQT_SIGNAL(textChanged()));
- changedMap.insert(TQString::fromLatin1("TQTextBrowser"), TQT_SIGNAL(sourceChanged(const TQString &)));
- changedMap.insert(TQString::fromLatin1("TQMultiLineEdit"), TQT_SIGNAL(textChanged()));
- changedMap.insert(TQString::fromLatin1("TQListBox"), TQT_SIGNAL(selectionChanged()));
- changedMap.insert(TQString::fromLatin1("TQTabWidget"), TQT_SIGNAL(currentChanged(TQWidget *)));
+ //changedMap.insert(TQString::fromLatin1("TQComboBox"), TQ_SIGNAL(textChanged(const TQString &)));
+ changedMap.insert(TQString::fromLatin1("TQDateEdit"), TQ_SIGNAL(valueChanged(const TQDate &)));
+ changedMap.insert(TQString::fromLatin1("TQDateTimeEdit"), TQ_SIGNAL(valueChanged(const TQDateTime &)));
+ changedMap.insert(TQString::fromLatin1("TQDial"), TQ_SIGNAL(valueChanged (int)));
+ changedMap.insert(TQString::fromLatin1("TQLineEdit"), TQ_SIGNAL(textChanged(const TQString &)));
+ changedMap.insert(TQString::fromLatin1("TQSlider"), TQ_SIGNAL(valueChanged(int)));
+ changedMap.insert(TQString::fromLatin1("TQSpinBox"), TQ_SIGNAL(valueChanged(int)));
+ changedMap.insert(TQString::fromLatin1("TQTimeEdit"), TQ_SIGNAL(valueChanged(const TQTime &)));
+ changedMap.insert(TQString::fromLatin1("TQTextEdit"), TQ_SIGNAL(textChanged()));
+ changedMap.insert(TQString::fromLatin1("TQTextBrowser"), TQ_SIGNAL(sourceChanged(const TQString &)));
+ changedMap.insert(TQString::fromLatin1("TQMultiLineEdit"), TQ_SIGNAL(textChanged()));
+ changedMap.insert(TQString::fromLatin1("TQListBox"), TQ_SIGNAL(selectionChanged()));
+ changedMap.insert(TQString::fromLatin1("TQTabWidget"), TQ_SIGNAL(currentChanged(TQWidget *)));
// KDE
- changedMap.insert( TQString::fromLatin1("KComboBox"), TQT_SIGNAL(activated (int)));
- changedMap.insert( TQString::fromLatin1("TDEFontCombo"), TQT_SIGNAL(activated (int)));
- changedMap.insert( TQString::fromLatin1("TDEFontRequester"), TQT_SIGNAL(fontSelected(const TQFont &)));
- changedMap.insert( TQString::fromLatin1("TDEFontChooser"), TQT_SIGNAL(fontSelected(const TQFont &)));
- changedMap.insert( TQString::fromLatin1("KHistoryCombo"), TQT_SIGNAL(activated (int)));
-
- changedMap.insert( TQString::fromLatin1("KColorButton"), TQT_SIGNAL(changed(const TQColor &)));
- changedMap.insert( TQString::fromLatin1("KDatePicker"), TQT_SIGNAL(dateSelected (TQDate)));
- changedMap.insert( TQString::fromLatin1("KEditListBox"), TQT_SIGNAL(changed()));
- changedMap.insert( TQString::fromLatin1("TDEListBox"), TQT_SIGNAL(selectionChanged()));
- changedMap.insert( TQString::fromLatin1("KLineEdit"), TQT_SIGNAL(textChanged(const TQString &)));
- changedMap.insert( TQString::fromLatin1("KPasswordEdit"), TQT_SIGNAL(textChanged(const TQString &)));
- changedMap.insert( TQString::fromLatin1("KRestrictedLine"), TQT_SIGNAL(textChanged(const TQString &)));
- changedMap.insert( TQString::fromLatin1("KTextBrowser"), TQT_SIGNAL(sourceChanged(const TQString &)));
- changedMap.insert( TQString::fromLatin1("KTextEdit"), TQT_SIGNAL(textChanged()));
- changedMap.insert( TQString::fromLatin1("KURLRequester"), TQT_SIGNAL(textChanged (const TQString& )));
- changedMap.insert( TQString::fromLatin1("KIntNumInput"), TQT_SIGNAL(valueChanged (int)));
- changedMap.insert( TQString::fromLatin1("KIntSpinBox"), TQT_SIGNAL(valueChanged (int)));
- changedMap.insert( TQString::fromLatin1("KDoubleNumInput"), TQT_SIGNAL(valueChanged (double)));
+ changedMap.insert( TQString::fromLatin1("KComboBox"), TQ_SIGNAL(activated (int)));
+ changedMap.insert( TQString::fromLatin1("TDEFontCombo"), TQ_SIGNAL(activated (int)));
+ changedMap.insert( TQString::fromLatin1("TDEFontRequester"), TQ_SIGNAL(fontSelected(const TQFont &)));
+ changedMap.insert( TQString::fromLatin1("TDEFontChooser"), TQ_SIGNAL(fontSelected(const TQFont &)));
+ changedMap.insert( TQString::fromLatin1("KHistoryCombo"), TQ_SIGNAL(activated (int)));
+
+ changedMap.insert( TQString::fromLatin1("KColorButton"), TQ_SIGNAL(changed(const TQColor &)));
+ changedMap.insert( TQString::fromLatin1("KDatePicker"), TQ_SIGNAL(dateSelected (TQDate)));
+ changedMap.insert( TQString::fromLatin1("KEditListBox"), TQ_SIGNAL(changed()));
+ changedMap.insert( TQString::fromLatin1("TDEListBox"), TQ_SIGNAL(selectionChanged()));
+ changedMap.insert( TQString::fromLatin1("KLineEdit"), TQ_SIGNAL(textChanged(const TQString &)));
+ changedMap.insert( TQString::fromLatin1("KPasswordEdit"), TQ_SIGNAL(textChanged(const TQString &)));
+ changedMap.insert( TQString::fromLatin1("KRestrictedLine"), TQ_SIGNAL(textChanged(const TQString &)));
+ changedMap.insert( TQString::fromLatin1("KTextBrowser"), TQ_SIGNAL(sourceChanged(const TQString &)));
+ changedMap.insert( TQString::fromLatin1("KTextEdit"), TQ_SIGNAL(textChanged()));
+ changedMap.insert( TQString::fromLatin1("KURLRequester"), TQ_SIGNAL(textChanged (const TQString& )));
+ changedMap.insert( TQString::fromLatin1("KIntNumInput"), TQ_SIGNAL(valueChanged (int)));
+ changedMap.insert( TQString::fromLatin1("KIntSpinBox"), TQ_SIGNAL(valueChanged (int)));
+ changedMap.insert( TQString::fromLatin1("KDoubleNumInput"), TQ_SIGNAL(valueChanged (double)));
}
// Go through all of the children of the widgets and find all known widgets
@@ -412,7 +412,7 @@ bool KAutoConfig::parseChildren(const TQWidget *widget,
changedMap.end())
{
connect(childWidget, changedMap[TQString::fromLatin1(childWidget->className())],
- this, TQT_SIGNAL(widgetModified()));
+ this, TQ_SIGNAL(widgetModified()));
}
#ifndef NDEBUG
else if(trackChanges &&
diff --git a/kopete/libkopete/kautoconfig.h b/kopete/libkopete/kautoconfig.h
index 17a4e074..314fd4c7 100644
--- a/kopete/libkopete/kautoconfig.h
+++ b/kopete/libkopete/kautoconfig.h
@@ -186,14 +186,14 @@ public:
*
* Example:
* \code
- * addWidgetChangedSignal( "TQCheckbox", TQT_SIGNAL(stateChanged(int)) );
+ * addWidgetChangedSignal( "TQCheckbox", TQ_SIGNAL(stateChanged(int)) );
* \endcode
*
* This is generally used in conjunction with the addition of a class
* to TQSqlPropertyMap so KAutoConfig can get/set its values.
*
* @param widgetName - The class name of the widget (className()).
- * @param signal - The signal (with "TQT_SIGNAL()" wrapper) that should be called.
+ * @param signal - The signal (with "TQ_SIGNAL()" wrapper) that should be called.
*/
inline void addWidgetChangedSignal( const TQString &widgetName,
const TQCString &signal ){
diff --git a/kopete/libkopete/kcautoconfigmodule.cpp b/kopete/libkopete/kcautoconfigmodule.cpp
index d079984a..7749d680 100644
--- a/kopete/libkopete/kcautoconfigmodule.cpp
+++ b/kopete/libkopete/kcautoconfigmodule.cpp
@@ -35,8 +35,8 @@ KCAutoConfigModule::KCAutoConfigModule( TQWidget * parent, const char * name, co
, d( new KCAutoConfigModulePrivate )
{
d->kautoconfig = new KAutoConfig( this );
- connect(d->kautoconfig, TQT_SIGNAL(widgetModified()), TQT_SLOT(slotWidgetModified()));
- connect(d->kautoconfig, TQT_SIGNAL(settingsChanged()), TQT_SLOT(widgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(widgetModified()), TQ_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(settingsChanged()), TQ_SLOT(widgetModified()));
}
KCAutoConfigModule::KCAutoConfigModule( TDEInstance * instance, TQWidget * parent, const TQStringList & args )
@@ -44,8 +44,8 @@ KCAutoConfigModule::KCAutoConfigModule( TDEInstance * instance, TQWidget * paren
, d( new KCAutoConfigModulePrivate )
{
d->kautoconfig = new KAutoConfig( this );
- connect(d->kautoconfig, TQT_SIGNAL(widgetModified()), TQT_SLOT(slotWidgetModified()));
- connect(d->kautoconfig, TQT_SIGNAL(settingsChanged()), TQT_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(widgetModified()), TQ_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(settingsChanged()), TQ_SLOT(slotWidgetModified()));
}
@@ -54,8 +54,8 @@ KCAutoConfigModule::KCAutoConfigModule( TDEConfig *config,TQWidget * parent, con
: TDECModule( parent, name, args ) , d( new KCAutoConfigModulePrivate )
{
d->kautoconfig = new KAutoConfig( config, this );
- connect(d->kautoconfig, TQT_SIGNAL(widgetModified()), TQT_SLOT(slotWidgetModified()));
- connect(d->kautoconfig, TQT_SIGNAL(settingsChanged()), TQT_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(widgetModified()), TQ_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(settingsChanged()), TQ_SLOT(slotWidgetModified()));
}
KCAutoConfigModule::KCAutoConfigModule( TDEConfig *config , TDEInstance * instance, TQWidget * parent, const TQStringList & args )
@@ -63,8 +63,8 @@ KCAutoConfigModule::KCAutoConfigModule( TDEConfig *config , TDEInstance * instan
, d( new KCAutoConfigModulePrivate )
{
d->kautoconfig = new KAutoConfig( config, this );
- connect(d->kautoconfig, TQT_SIGNAL(widgetModified()), TQT_SLOT(slotWidgetModified()));
- connect(d->kautoconfig, TQT_SIGNAL(settingsChanged()), TQT_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(widgetModified()), TQ_SLOT(slotWidgetModified()));
+ connect(d->kautoconfig, TQ_SIGNAL(settingsChanged()), TQ_SLOT(slotWidgetModified()));
}
diff --git a/kopete/libkopete/knotification.cpp b/kopete/libkopete/knotification.cpp
index e7bfdfe2..24d653a0 100644
--- a/kopete/libkopete/knotification.cpp
+++ b/kopete/libkopete/knotification.cpp
@@ -174,7 +174,7 @@ void KNotification::notifyByPassivePopup(const TQPixmap &pix )
WId winId=d->widget ? d->widget->topLevelWidget()->winId() : 0;
KPassivePopup *pop = new KPassivePopup( checkWinId(appName, winId) );
- TQObject::connect(this, TQT_SIGNAL(closed()), pop, TQT_SLOT(deleteLater()));
+ TQObject::connect(this, TQ_SIGNAL(closed()), pop, TQ_SLOT(deleteLater()));
TQVBox *vb = pop->standardView( title, pix.isNull() ? d->text: TQString() , icon );
TQVBox *vb2=vb;
@@ -214,9 +214,9 @@ void KNotification::notifyByPassivePopup(const TQPixmap &pix )
linkCode+=TQString::fromLatin1("</p>");
KActiveLabel *link = new KActiveLabel(linkCode , vb );
//link->setAlignment( AlignRight );
- TQObject::disconnect(link, TQT_SIGNAL(linkClicked(const TQString &)), link, TQT_SLOT(openLink(const TQString &)));
- TQObject::connect(link, TQT_SIGNAL(linkClicked(const TQString &)), this, TQT_SLOT(slotPopupLinkClicked(const TQString &)));
- TQObject::connect(link, TQT_SIGNAL(linkClicked(const TQString &)), pop, TQT_SLOT(hide()));
+ TQObject::disconnect(link, TQ_SIGNAL(linkClicked(const TQString &)), link, TQ_SLOT(openLink(const TQString &)));
+ TQObject::connect(link, TQ_SIGNAL(linkClicked(const TQString &)), this, TQ_SLOT(slotPopupLinkClicked(const TQString &)));
+ TQObject::connect(link, TQ_SIGNAL(linkClicked(const TQString &)), pop, TQ_SLOT(hide()));
}
pop->setAutoDelete( true );
@@ -391,12 +391,12 @@ KNotification *KNotification::userEvent( const TQString& text, const TQPixmap& p
}
if ( present & KNotifyClient::Messagebox )
{
- TQTimer::singleShot(0,notify,TQT_SLOT(notifyByMessagebox()));
+ TQTimer::singleShot(0,notify,TQ_SLOT(notifyByMessagebox()));
}
else //not a message box (because closing the event when a message box is there is suicide)
if(flags & CloseOnTimeout)
{
- TQTimer::singleShot(6*1000, notify, TQT_SLOT(close()));
+ TQTimer::singleShot(6*1000, notify, TQ_SLOT(close()));
}
if ( present & KNotifyClient::Execute )
{
diff --git a/kopete/libkopete/kopeteaccount.cpp b/kopete/libkopete/kopeteaccount.cpp
index ac072f40..4eb70efe 100644
--- a/kopete/libkopete/kopeteaccount.cpp
+++ b/kopete/libkopete/kopeteaccount.cpp
@@ -96,8 +96,8 @@ Account::Account( Protocol *parent, const TQString &accountId, const char *name
d->restoreStatus = Kopete::OnlineStatus::Online;
d->restoreMessage = "";
- TQObject::connect( &d->suppressStatusTimer, TQT_SIGNAL( timeout() ),
- this, TQT_SLOT( slotStopSuppression() ) );
+ TQObject::connect( &d->suppressStatusTimer, TQ_SIGNAL( timeout() ),
+ this, TQ_SLOT( slotStopSuppression() ) );
}
Account::~Account()
@@ -128,14 +128,14 @@ void Account::disconnected( DisconnectReason reason )
//reconnect if needed
if(reason == BadPassword )
{
- TQTimer::singleShot(0, this, TQT_SLOT(reconnect()));
+ TQTimer::singleShot(0, this, TQ_SLOT(reconnect()));
}
else if ( KopetePrefs::prefs()->reconnectOnDisconnect() == true && reason > Manual )
{
d->connectionTry++;
//use a timer to allow the plugins to clean up after return
if(d->connectionTry < 3)
- TQTimer::singleShot(10000, this, TQT_SLOT(reconnect())); // wait 10 seconds before reconnect
+ TQTimer::singleShot(10000, this, TQ_SLOT(reconnect())); // wait 10 seconds before reconnect
}
if(reason== OtherClient)
{
@@ -233,8 +233,8 @@ bool Account::excludeConnect() const
void Account::registerContact( Contact *c )
{
d->contacts.insert( c->contactId(), c );
- TQObject::connect( c, TQT_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
- TQT_SLOT( contactDestroyed( Kopete::Contact * ) ) );
+ TQObject::connect( c, TQ_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
+ TQ_SLOT( contactDestroyed( Kopete::Contact * ) ) );
}
void Account::contactDestroyed( Contact *c )
@@ -370,7 +370,7 @@ TDEActionMenu * Account::actionMenu()
OnlineStatusManager::self()->createAccountStatusActions(this, menu);
menu->popupMenu()->insertSeparator();
- menu->insert( new TDEAction ( i18n( "Properties" ), 0, this, TQT_SLOT( editAccount() ), menu, "actionAccountProperties" ) );
+ menu->insert( new TDEAction ( i18n( "Properties" ), 0, this, TQ_SLOT( editAccount() ), menu, "actionAccountProperties" ) );
return menu;
}
@@ -397,20 +397,20 @@ void Account::setMyself( Contact *myself )
if ( d->myself )
{
- TQObject::disconnect( d->myself, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
- TQObject::disconnect( d->myself, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
- this, TQT_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
+ TQObject::disconnect( d->myself, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ TQObject::disconnect( d->myself, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
+ this, TQ_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
}
d->myself = myself;
// d->contacts.remove( myself->contactId() );
- TQObject::connect( d->myself, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
- TQObject::connect( d->myself, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
- this, TQT_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
+ TQObject::connect( d->myself, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ TQObject::connect( d->myself, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
+ this, TQ_SLOT( slotContactPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) );
if ( isConnected() != wasConnected )
emit isConnectedChanged();
diff --git a/kopete/libkopete/kopeteaccountmanager.cpp b/kopete/libkopete/kopeteaccountmanager.cpp
index 4b3db7cd..92a2243f 100644
--- a/kopete/libkopete/kopeteaccountmanager.cpp
+++ b/kopete/libkopete/kopeteaccountmanager.cpp
@@ -243,12 +243,12 @@ Account* AccountManager::registerAccount( Account *account )
d->accounts.sort();
// Connect to the account's status changed signal
- connect(account->myself(), TQT_SIGNAL(onlineStatusChanged(Kopete::Contact *,
+ connect(account->myself(), TQ_SIGNAL(onlineStatusChanged(Kopete::Contact *,
const Kopete::OnlineStatus &, const Kopete::OnlineStatus &)),
- this, TQT_SLOT(slotAccountOnlineStatusChanged(Kopete::Contact *,
+ this, TQ_SLOT(slotAccountOnlineStatusChanged(Kopete::Contact *,
const Kopete::OnlineStatus &, const Kopete::OnlineStatus &)));
- connect(account, TQT_SIGNAL(accountDestroyed(const Kopete::Account *)) , this, TQT_SLOT( unregisterAccount(const Kopete::Account *) ));
+ connect(account, TQ_SIGNAL(accountDestroyed(const Kopete::Account *)) , this, TQ_SLOT( unregisterAccount(const Kopete::Account *) ));
emit accountRegistered( account );
return account;
@@ -357,8 +357,8 @@ void AccountManager::save()
void AccountManager::load()
{
- connect( PluginManager::self(), TQT_SIGNAL( pluginLoaded( Kopete::Plugin * ) ),
- this, TQT_SLOT( slotPluginLoaded( Kopete::Plugin * ) ) );
+ connect( PluginManager::self(), TQ_SIGNAL( pluginLoaded( Kopete::Plugin * ) ),
+ this, TQ_SLOT( slotPluginLoaded( Kopete::Plugin * ) ) );
// Iterate over all groups that start with "Account_" as those are accounts
// and load the required protocols if the account is enabled.
diff --git a/kopete/libkopete/kopeteaway.cpp b/kopete/libkopete/kopeteaway.cpp
index 4791d402..1a835386 100644
--- a/kopete/libkopete/kopeteaway.cpp
+++ b/kopete/libkopete/kopeteaway.cpp
@@ -143,7 +143,7 @@ Kopete::Away::Away() : TQObject( kapp , "Kopete::Away")
load();
- KSettings::Dispatcher::self()->registerInstance( TDEGlobal::instance(), this, TQT_SLOT( load() ) );
+ KSettings::Dispatcher::self()->registerInstance( TDEGlobal::instance(), this, TQ_SLOT( load() ) );
// Set up the config object
TDEConfig *config = TDEGlobal::config();
/* Load the saved away messages */
@@ -189,7 +189,7 @@ Kopete::Away::Away() : TQObject( kapp , "Kopete::Away")
// init the timer
d->timer = new TQTimer(this, "AwayTimer");
- connect(d->timer, TQT_SIGNAL(timeout()), this, TQT_SLOT(slotTimerTimeout()));
+ connect(d->timer, TQ_SIGNAL(timeout()), this, TQ_SLOT(slotTimerTimeout()));
d->timer->start(4000);
//init the time and other
diff --git a/kopete/libkopete/kopeteawayaction.cpp b/kopete/libkopete/kopeteawayaction.cpp
index da5b77fb..038a43dd 100644
--- a/kopete/libkopete/kopeteawayaction.cpp
+++ b/kopete/libkopete/kopeteawayaction.cpp
@@ -40,14 +40,14 @@ AwayAction::AwayAction(const TQString &text, const TQIconSet &pix, const TDEShor
const TQObject *receiver, const char *slot, TQObject *parent, const char *name )
: TDESelectAction(text, pix, cut, parent, name ) , d(new Private( OnlineStatus() ) )
{
- TQObject::connect( Kopete::Away::getInstance(), TQT_SIGNAL( messagesChanged() ),
- this, TQT_SLOT( slotAwayChanged() ) );
+ TQObject::connect( Kopete::Away::getInstance(), TQ_SIGNAL( messagesChanged() ),
+ this, TQ_SLOT( slotAwayChanged() ) );
- TQObject::connect( this, TQT_SIGNAL( awayMessageSelected( const TQString & ) ),
+ TQObject::connect( this, TQ_SIGNAL( awayMessageSelected( const TQString & ) ),
receiver, slot );
- TQObject::connect( this, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( slotSelectAway( int ) ) );
+ TQObject::connect( this, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( slotSelectAway( int ) ) );
slotAwayChanged();
}
@@ -56,14 +56,14 @@ AwayAction::AwayAction( const OnlineStatus& status, const TQString &text, const
const TQObject *receiver, const char *slot, TQObject *parent, const char *name )
: TDESelectAction(text, pix, cut, parent, name ) , d(new Private( status ) )
{
- TQObject::connect( Kopete::Away::getInstance(), TQT_SIGNAL( messagesChanged() ),
- this, TQT_SLOT( slotAwayChanged() ) );
+ TQObject::connect( Kopete::Away::getInstance(), TQ_SIGNAL( messagesChanged() ),
+ this, TQ_SLOT( slotAwayChanged() ) );
- TQObject::connect( this, TQT_SIGNAL( awayMessageSelected( const Kopete::OnlineStatus &, const TQString & ) ),
+ TQObject::connect( this, TQ_SIGNAL( awayMessageSelected( const Kopete::OnlineStatus &, const TQString & ) ),
receiver, slot );
- TQObject::connect( this, TQT_SIGNAL( activated( int ) ),
- this, TQT_SLOT( slotSelectAway( int ) ) );
+ TQObject::connect( this, TQ_SIGNAL( activated( int ) ),
+ this, TQ_SLOT( slotSelectAway( int ) ) );
slotAwayChanged();
}
diff --git a/kopete/libkopete/kopeteawaydialog.cpp b/kopete/libkopete/kopeteawaydialog.cpp
index fd4def67..4eb0ebc2 100644
--- a/kopete/libkopete/kopeteawaydialog.cpp
+++ b/kopete/libkopete/kopeteawaydialog.cpp
@@ -44,7 +44,7 @@ KopeteAwayDialog::KopeteAwayDialog( TQWidget *parent, const char *name )
d->base = new KopeteAwayDialog_Base( this );
setMainWidget( d->base );
- TQObject::connect( d->base->cmbHistory, TQT_SIGNAL( activated( int ) ), this, TQT_SLOT( slotComboBoxSelection( int ) ) );
+ TQObject::connect( d->base->cmbHistory, TQ_SIGNAL( activated( int ) ), this, TQ_SLOT( slotComboBoxSelection( int ) ) );
awayInstance = Kopete::Away::getInstance();
mExtendedAwayType = 0;
diff --git a/kopete/libkopete/kopetechatsession.cpp b/kopete/libkopete/kopetechatsession.cpp
index ab9b9a13..089a2b65 100644
--- a/kopete/libkopete/kopetechatsession.cpp
+++ b/kopete/libkopete/kopetechatsession.cpp
@@ -79,11 +79,11 @@ Kopete::ChatSession::ChatSession( const Kopete::Contact *user,
for ( Kopete::Contact *c = others.first(); c; c = others.next() )
addContact( c, true );
- connect( user, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ), this,
- TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ connect( user, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ), this,
+ TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
if( user->metaContact() )
- connect( user->metaContact(), TQT_SIGNAL( photoChanged() ), this, TQT_SIGNAL( photoChanged() ) );
+ connect( user->metaContact(), TQ_SIGNAL( photoChanged() ), this, TQ_SIGNAL( photoChanged() ) );
slotUpdateDisplayName();
}
@@ -111,8 +111,8 @@ void Kopete::ChatSession::setContactOnlineStatus( const Kopete::Contact *contact
{
Kopete::OnlineStatus oldStatus = d->contactStatus[ contact ];
d->contactStatus[ contact ] = status;
- disconnect( contact, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
+ disconnect( contact, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
emit onlineStatusChanged( (Kopete::Contact*)contact, status, oldStatus );
}
@@ -320,16 +320,16 @@ void Kopete::ChatSession::addContact( const Kopete::Contact *c, bool suppress )
d->mContactList.remove( old );
d->mContactList.append( c );
- disconnect( old, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
+ disconnect( old, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
if ( old->metaContact() )
{
- disconnect( old->metaContact(), TQT_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), this, TQT_SLOT( slotUpdateDisplayName() ) );
- disconnect( old->metaContact(), TQT_SIGNAL( photoChanged() ), this, TQT_SIGNAL( photoChanged() ) );
+ disconnect( old->metaContact(), TQ_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), this, TQ_SLOT( slotUpdateDisplayName() ) );
+ disconnect( old->metaContact(), TQ_SIGNAL( photoChanged() ), this, TQ_SIGNAL( photoChanged() ) );
}
else
- disconnect( old, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), this, TQT_SLOT( slotUpdateDisplayName() ) );
+ disconnect( old, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), this, TQ_SLOT( slotUpdateDisplayName() ) );
emit contactAdded( c, suppress );
emit contactRemoved( old, TQString() );
}
@@ -339,17 +339,17 @@ void Kopete::ChatSession::addContact( const Kopete::Contact *c, bool suppress )
emit contactAdded( c, suppress );
}
- connect( c, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
+ connect( c, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
;
if ( c->metaContact() )
{
- connect( c->metaContact(), TQT_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), this, TQT_SLOT( slotUpdateDisplayName() ) );
- connect( c->metaContact(), TQT_SIGNAL( photoChanged() ), this, TQT_SIGNAL( photoChanged() ) );
+ connect( c->metaContact(), TQ_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), this, TQ_SLOT( slotUpdateDisplayName() ) );
+ connect( c->metaContact(), TQ_SIGNAL( photoChanged() ), this, TQ_SIGNAL( photoChanged() ) );
}
else
- connect( c, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), this, TQT_SLOT( slotUpdateDisplayName() ) );
- connect( c, TQT_SIGNAL( contactDestroyed( Kopete::Contact * ) ), this, TQT_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
+ connect( c, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), this, TQ_SLOT( slotUpdateDisplayName() ) );
+ connect( c, TQ_SIGNAL( contactDestroyed( Kopete::Contact * ) ), this, TQ_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
slotUpdateDisplayName();
}
@@ -371,17 +371,17 @@ void Kopete::ChatSession::removeContact( const Kopete::Contact *c, const TQStrin
{
d->mContactList.remove( c );
- disconnect( c, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
+ disconnect( c, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotOnlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus &) ) );
if ( c->metaContact() )
{
- disconnect( c->metaContact(), TQT_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), this, TQT_SLOT( slotUpdateDisplayName() ) );
- disconnect( c->metaContact(), TQT_SIGNAL( photoChanged() ), this, TQT_SIGNAL( photoChanged() ) );
+ disconnect( c->metaContact(), TQ_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), this, TQ_SLOT( slotUpdateDisplayName() ) );
+ disconnect( c->metaContact(), TQ_SIGNAL( photoChanged() ), this, TQ_SIGNAL( photoChanged() ) );
}
else
- disconnect( c, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), this, TQT_SLOT( slotUpdateDisplayName() ) );
- disconnect( c, TQT_SIGNAL( contactDestroyed( Kopete::Contact * ) ), this, TQT_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
+ disconnect( c, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ), this, TQ_SLOT( slotUpdateDisplayName() ) );
+ disconnect( c, TQ_SIGNAL( contactDestroyed( Kopete::Contact * ) ), this, TQ_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
slotUpdateDisplayName();
}
@@ -443,7 +443,7 @@ KopeteView* Kopete::ChatSession::view( bool canCreate, const TQString &requested
d->view = Kopete::ChatSessionManager::self()->createView( this, requestedPlugin );
if ( d->view )
{
- connect( d->view->mainWidget(), TQT_SIGNAL( closing( KopeteView * ) ), this, TQT_SLOT( slotViewDestroyed( ) ) );
+ connect( d->view->mainWidget(), TQ_SIGNAL( closing( KopeteView * ) ), this, TQ_SLOT( slotViewDestroyed( ) ) );
}
else
{
diff --git a/kopete/libkopete/kopetechatsessionmanager.cpp b/kopete/libkopete/kopetechatsessionmanager.cpp
index 57cc1752..64940963 100644
--- a/kopete/libkopete/kopetechatsessionmanager.cpp
+++ b/kopete/libkopete/kopetechatsessionmanager.cpp
@@ -128,15 +128,15 @@ void ChatSessionManager::registerChatSession(ChatSession * result)
* There's no need for a slot here... just add a public remove()
* method and call from KMM's destructor
*/
- connect( result, TQT_SIGNAL( messageAppended( Kopete::Message &, Kopete::ChatSession * ) ),
- TQT_SIGNAL( aboutToDisplay( Kopete::Message & ) ) );
- connect( result, TQT_SIGNAL( messageSent( Kopete::Message &, Kopete::ChatSession * ) ),
- TQT_SIGNAL( aboutToSend(Kopete::Message & ) ) );
- connect( result, TQT_SIGNAL( messageReceived( Kopete::Message &, Kopete::ChatSession * ) ),
- TQT_SIGNAL( aboutToReceive(Kopete::Message & ) ) );
+ connect( result, TQ_SIGNAL( messageAppended( Kopete::Message &, Kopete::ChatSession * ) ),
+ TQ_SIGNAL( aboutToDisplay( Kopete::Message & ) ) );
+ connect( result, TQ_SIGNAL( messageSent( Kopete::Message &, Kopete::ChatSession * ) ),
+ TQ_SIGNAL( aboutToSend(Kopete::Message & ) ) );
+ connect( result, TQ_SIGNAL( messageReceived( Kopete::Message &, Kopete::ChatSession * ) ),
+ TQ_SIGNAL( aboutToReceive(Kopete::Message & ) ) );
- connect( result, TQT_SIGNAL(messageAppended( Kopete::Message &, Kopete::ChatSession *) ),
- TQT_SIGNAL( display( Kopete::Message &, Kopete::ChatSession *) ) );
+ connect( result, TQ_SIGNAL(messageAppended( Kopete::Message &, Kopete::ChatSession *) ),
+ TQ_SIGNAL( display( Kopete::Message &, Kopete::ChatSession *) ) );
emit chatSessionCreated(result);
}
@@ -165,10 +165,10 @@ KopeteView * ChatSessionManager::createView( ChatSession *kmm , const TQString &
TQObject *viewObject = dynamic_cast<TQObject *>(newView);
if(viewObject)
{
- connect(viewObject, TQT_SIGNAL(activated(KopeteView *)),
- this, TQT_SIGNAL(viewActivated(KopeteView *)));
- connect(viewObject, TQT_SIGNAL(closing(KopeteView *)),
- this, TQT_SIGNAL(viewClosing(KopeteView *)));
+ connect(viewObject, TQ_SIGNAL(activated(KopeteView *)),
+ this, TQ_SIGNAL(viewActivated(KopeteView *)));
+ connect(viewObject, TQ_SIGNAL(closing(KopeteView *)),
+ this, TQ_SIGNAL(viewClosing(KopeteView *)));
}
else
{
diff --git a/kopete/libkopete/kopetecommandhandler.cpp b/kopete/libkopete/kopetecommandhandler.cpp
index 49443ab2..b628bde1 100644
--- a/kopete/libkopete/kopetecommandhandler.cpp
+++ b/kopete/libkopete/kopetecommandhandler.cpp
@@ -103,41 +103,41 @@ Kopete::CommandHandler::CommandHandler() : TQObject( tqApp )
mCommands.setAutoDelete( true );
p->pluginCommands.insert( this, mCommands );
- registerCommand( this, TQString::fromLatin1("help"), TQT_SLOT( slotHelpCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("help"), TQ_SLOT( slotHelpCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /help [<command>] - Used to list available commands, or show help for a specified command." ), 0, 1 );
- registerCommand( this, TQString::fromLatin1("close"), TQT_SLOT( slotCloseCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("close"), TQ_SLOT( slotCloseCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /close - Closes the current view." ) );
// FIXME: What's the difference with /close? The help doesn't explain it - Martijn
- registerCommand( this, TQString::fromLatin1("part"), TQT_SLOT( slotPartCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("part"), TQ_SLOT( slotPartCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /part - Closes the current view." ) );
- registerCommand( this, TQString::fromLatin1("clear"), TQT_SLOT( slotClearCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("clear"), TQ_SLOT( slotClearCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /clear - Clears the active view's chat buffer." ) );
- //registerCommand( this, TQString::fromLatin1("me"), TQT_SLOT( slotMeCommand( const TQString &, Kopete::ChatSession * ) ),
+ //registerCommand( this, TQString::fromLatin1("me"), TQ_SLOT( slotMeCommand( const TQString &, Kopete::ChatSession * ) ),
// i18n( "USAGE: /me <text> - Formats message as in '<nickname> went to the store'." ) );
- registerCommand( this, TQString::fromLatin1("away"), TQT_SLOT( slotAwayCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("away"), TQ_SLOT( slotAwayCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /away [<reason>] - Marks you as away/back for the current account only." ) );
- registerCommand( this, TQString::fromLatin1("awayall"), TQT_SLOT( slotAwayAllCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("awayall"), TQ_SLOT( slotAwayAllCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /awayall [<reason>] - Marks you as away/back for all accounts." ) );
- registerCommand( this, TQString::fromLatin1("say"), TQT_SLOT( slotSayCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("say"), TQ_SLOT( slotSayCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /say <text> - Say text in this chat. This is the same as just typing a message, but is very "
"useful for scripts." ), 1 );
- registerCommand( this, TQString::fromLatin1("exec"), TQT_SLOT( slotExecCommand( const TQString &, Kopete::ChatSession * ) ),
+ registerCommand( this, TQString::fromLatin1("exec"), TQ_SLOT( slotExecCommand( const TQString &, Kopete::ChatSession * ) ),
i18n( "USAGE: /exec [-o] <command> - Executes the specified command and displays the output in the chat buffer. "
"If -o is specified, the output is sent to all members of the chat."), 1 );
- connect( Kopete::PluginManager::self(), TQT_SIGNAL( pluginLoaded( Kopete::Plugin*) ),
- this, TQT_SLOT(slotPluginLoaded(Kopete::Plugin*) ) );
+ connect( Kopete::PluginManager::self(), TQ_SIGNAL( pluginLoaded( Kopete::Plugin*) ),
+ this, TQ_SLOT(slotPluginLoaded(Kopete::Plugin*) ) );
- connect( Kopete::ChatSessionManager::self(), TQT_SIGNAL( viewCreated( KopeteView * ) ),
- this, TQT_SLOT( slotViewCreated( KopeteView* ) ) );
+ connect( Kopete::ChatSessionManager::self(), TQ_SIGNAL( viewCreated( KopeteView * ) ),
+ this, TQ_SLOT( slotViewCreated( KopeteView* ) ) );
}
Kopete::CommandHandler::~CommandHandler()
@@ -294,8 +294,8 @@ void Kopete::CommandHandler::slotExecCommand( const TQString &args, Kopete::Chat
*proc << args;
}
- connect(proc, TQT_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQT_SLOT(slotExecReturnedData(TDEProcess *, char *, int)));
- connect(proc, TQT_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQT_SLOT(slotExecReturnedData(TDEProcess *, char *, int)));
+ connect(proc, TQ_SIGNAL(receivedStdout(TDEProcess *, char *, int)), this, TQ_SLOT(slotExecReturnedData(TDEProcess *, char *, int)));
+ connect(proc, TQ_SIGNAL(receivedStderr(TDEProcess *, char *, int)), this, TQ_SLOT(slotExecReturnedData(TDEProcess *, char *, int)));
proc->start( TDEProcess::NotifyOnExit, TDEProcess::AllOutput );
}
else
@@ -469,7 +469,7 @@ void Kopete::CommandHandler::slotViewCreated( KopeteView *view )
void Kopete::CommandHandler::slotPluginLoaded( Kopete::Plugin *plugin )
{
- connect( plugin, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( slotPluginDestroyed( TQObject * ) ) );
+ connect( plugin, TQ_SIGNAL( destroyed( TQObject * ) ), this, TQ_SLOT( slotPluginDestroyed( TQObject * ) ) );
if( !p->pluginCommands.contains( plugin ) )
{
//Create a TQDict optomized for a larger # of commands, and case insensitive
diff --git a/kopete/libkopete/kopetecontact.cpp b/kopete/libkopete/kopetecontact.cpp
index 35520c83..8606daa0 100644
--- a/kopete/libkopete/kopetecontact.cpp
+++ b/kopete/libkopete/kopetecontact.cpp
@@ -98,7 +98,7 @@ Contact::Contact( Account *account, const TQString &contactId,
if ( account )
{
account->registerContact( this );
- connect( account, TQT_SIGNAL( isConnectedChanged() ), TQT_SLOT( slotAccountIsConnectedChanged() ) );
+ connect( account, TQ_SIGNAL( isConnectedChanged() ), TQ_SLOT( slotAccountIsConnectedChanged() ) );
}
// Need to check this because myself() may have no parent
@@ -106,8 +106,8 @@ Contact::Contact( Account *account, const TQString &contactId,
// (ex: for unit tests or chat window style preview)
if( parent && protocol() )
{
- connect( parent, TQT_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
- protocol(), TQT_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
+ connect( parent, TQ_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
+ protocol(), TQ_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
parent->addContact( this );
}
@@ -210,7 +210,7 @@ TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
if( metaContact() && metaContact()->isTemporary() && contactId() != account()->myself()->contactId() )
{
TDEAction *actionAddContact = new TDEAction( i18n( "&Add to Your Contact List" ), TQString::fromLatin1( "add_user" ),
- 0, this, TQT_SLOT( slotAddContact() ), menu, "actionAddContact" );
+ 0, this, TQ_SLOT( slotAddContact() ), menu, "actionAddContact" );
actionAddContact->plug( menu );
menu->insertSeparator();
}
@@ -219,15 +219,15 @@ TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
bool reach = account()->isConnected() && isReachable();
bool myself = (this == account()->myself());
- TDEAction *actionSendMessage = KopeteStdAction::sendMessage( this, TQT_SLOT( sendMessage() ), menu, "actionSendMessage" );
+ TDEAction *actionSendMessage = KopeteStdAction::sendMessage( this, TQ_SLOT( sendMessage() ), menu, "actionSendMessage" );
actionSendMessage->setEnabled( reach && !myself );
actionSendMessage->plug( menu );
- TDEAction *actionChat = KopeteStdAction::chat( this, TQT_SLOT( startChat() ), menu, "actionChat" );
+ TDEAction *actionChat = KopeteStdAction::chat( this, TQ_SLOT( startChat() ), menu, "actionChat" );
actionChat->setEnabled( reach && !myself );
actionChat->plug( menu );
- TDEAction *actionSendFile = KopeteStdAction::sendFile( this, TQT_SLOT( sendFile() ), menu, "actionSendFile" );
+ TDEAction *actionSendFile = KopeteStdAction::sendFile( this, TQ_SLOT( sendFile() ), menu, "actionSendFile" );
actionSendFile->setEnabled( reach && d->fileCapable && !myself );
actionSendFile->plug( menu );
@@ -248,19 +248,19 @@ TDEPopupMenu* Contact::popupMenu( ChatSession *manager )
menu->insertSeparator();
if( metaContact() && !metaContact()->isTemporary() )
- KopeteStdAction::changeMetaContact( this, TQT_SLOT( changeMetaContact() ), menu, "actionChangeMetaContact" )->plug( menu );
+ KopeteStdAction::changeMetaContact( this, TQ_SLOT( changeMetaContact() ), menu, "actionChangeMetaContact" )->plug( menu );
- KopeteStdAction::contactInfo( this, TQT_SLOT( slotUserInfo() ), menu, "actionUserInfo" )->plug( menu );
+ KopeteStdAction::contactInfo( this, TQ_SLOT( slotUserInfo() ), menu, "actionUserInfo" )->plug( menu );
#if 0 //this is not fully implemented yet (and doesn't work). disable for now - Olivier 2005-01-11
if ( account()->isBlocked( d->contactId ) )
- KopeteStdAction::unblockContact( this, TQT_SLOT( slotUnblock() ), menu, "actionUnblockContact" )->plug( menu );
+ KopeteStdAction::unblockContact( this, TQ_SLOT( slotUnblock() ), menu, "actionUnblockContact" )->plug( menu );
else
- KopeteStdAction::blockContact( this, TQT_SLOT( slotBlock() ), menu, "actionBlockContact" )->plug( menu );
+ KopeteStdAction::blockContact( this, TQ_SLOT( slotBlock() ), menu, "actionBlockContact" )->plug( menu );
#endif
if( metaContact() && !metaContact()->isTemporary() )
- KopeteStdAction::deleteContact( this, TQT_SLOT( slotDelete() ), menu, "actionDeleteContact" )->plug( menu );
+ KopeteStdAction::deleteContact( this, TQ_SLOT( slotDelete() ), menu, "actionDeleteContact" )->plug( menu );
return menu;
}
@@ -279,7 +279,7 @@ void Contact::changeMetaContact()
TQCheckBox *chkCreateNew = new TQCheckBox( i18n( "Create a new metacontact for this contact" ), w );
TQWhatsThis::add( chkCreateNew , i18n( "If you select this option, a new metacontact will be created in the top-level group "
"with the name of this contact and the contact will be moved to it." ) );
- TQObject::connect( chkCreateNew , TQT_SIGNAL( toggled(bool) ) , selector , TQT_SLOT ( setDisabled(bool) ) ) ;
+ TQObject::connect( chkCreateNew , TQ_SIGNAL( toggled(bool) ) , selector , TQ_SLOT ( setDisabled(bool) ) ) ;
moveDialog->setMainWidget(w);
if( moveDialog->exec() == TQDialog::Accepted )
@@ -320,8 +320,8 @@ void Contact::setMetaContact( MetaContact *m )
return;
}
old->removeContact( this );
- disconnect( old, TQT_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
- protocol(), TQT_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
+ disconnect( old, TQ_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
+ protocol(), TQ_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
if(result==KMessageBox::Yes)
{
@@ -346,8 +346,8 @@ void Contact::setMetaContact( MetaContact *m )
// between adding completely new contacts (which should be written to tdeabc) and restoring upon restart
// (where no write is needed).
KABCPersistence::self()->write( m );
- connect( d->metaContact, TQT_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
- protocol(), TQT_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
+ connect( d->metaContact, TQ_SIGNAL( aboutToSave( Kopete::MetaContact * ) ),
+ protocol(), TQ_SLOT( slotMetaContactAboutToSave( Kopete::MetaContact * ) ) );
}
sync();
}
diff --git a/kopete/libkopete/kopetecontactlist.cpp b/kopete/libkopete/kopetecontactlist.cpp
index eb2d02c3..5e919776 100644
--- a/kopete/libkopete/kopetecontactlist.cpp
+++ b/kopete/libkopete/kopetecontactlist.cpp
@@ -93,13 +93,13 @@ ContactList::ContactList()
// automatically save on changes to the list
d->saveTimer = new TQTimer( this, "saveTimer" );
- connect( d->saveTimer, TQT_SIGNAL( timeout() ), TQT_SLOT ( save() ) );
+ connect( d->saveTimer, TQ_SIGNAL( timeout() ), TQ_SLOT ( save() ) );
- connect( this, TQT_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), TQT_SLOT( slotSaveLater() ) );
- connect( this, TQT_SIGNAL( metaContactRemoved( Kopete::MetaContact * ) ), TQT_SLOT( slotSaveLater() ) );
- connect( this, TQT_SIGNAL( groupAdded( Kopete::Group * ) ), TQT_SLOT( slotSaveLater() ) );
- connect( this, TQT_SIGNAL( groupRemoved( Kopete::Group * ) ), TQT_SLOT( slotSaveLater() ) );
- connect( this, TQT_SIGNAL( groupRenamed( Kopete::Group *, const TQString & ) ), TQT_SLOT( slotSaveLater() ) );
+ connect( this, TQ_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), TQ_SLOT( slotSaveLater() ) );
+ connect( this, TQ_SIGNAL( metaContactRemoved( Kopete::MetaContact * ) ), TQ_SLOT( slotSaveLater() ) );
+ connect( this, TQ_SIGNAL( groupAdded( Kopete::Group * ) ), TQ_SLOT( slotSaveLater() ) );
+ connect( this, TQ_SIGNAL( groupRemoved( Kopete::Group * ) ), TQ_SLOT( slotSaveLater() ) );
+ connect( this, TQ_SIGNAL( groupRenamed( Kopete::Group *, const TQString & ) ), TQ_SLOT( slotSaveLater() ) );
}
ContactList::~ContactList()
@@ -224,9 +224,9 @@ void ContactList::addMetaContact( MetaContact *mc )
d->contacts.append( mc );
emit metaContactAdded( mc );
- connect( mc, TQT_SIGNAL( persistentDataChanged( ) ), TQT_SLOT( slotSaveLater() ) );
- connect( mc, TQT_SIGNAL( addedToGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQT_SIGNAL( metaContactAddedToGroup( Kopete::MetaContact *, Kopete::Group * ) ) );
- connect( mc, TQT_SIGNAL( removedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQT_SIGNAL( metaContactRemovedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ) );
+ connect( mc, TQ_SIGNAL( persistentDataChanged( ) ), TQ_SLOT( slotSaveLater() ) );
+ connect( mc, TQ_SIGNAL( addedToGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQ_SIGNAL( metaContactAddedToGroup( Kopete::MetaContact *, Kopete::Group * ) ) );
+ connect( mc, TQ_SIGNAL( removedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQ_SIGNAL( metaContactRemovedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ) );
}
@@ -263,7 +263,7 @@ void ContactList::addGroup( Group * g )
{
d->groups.append( g );
emit groupAdded( g );
- connect( g , TQT_SIGNAL ( displayNameChanged(Kopete::Group* , const TQString & )) , this , TQT_SIGNAL ( groupRenamed(Kopete::Group* , const TQString & )) ) ;
+ connect( g , TQ_SIGNAL ( displayNameChanged(Kopete::Group* , const TQString & )) , this , TQ_SIGNAL ( groupRenamed(Kopete::Group* , const TQString & )) ) ;
}
}
@@ -304,11 +304,11 @@ void ContactList::loadGlobalIdentity()
if(Kopete::Config::enableGlobalIdentity())
{
// Disconnect to make sure it will not cause duplicate calls.
- disconnect(myself(), TQT_SIGNAL(displayNameChanged(const TQString&, const TQString&)), this, TQT_SLOT(slotDisplayNameChanged()));
- disconnect(myself(), TQT_SIGNAL(photoChanged()), this, TQT_SLOT(slotPhotoChanged()));
+ disconnect(myself(), TQ_SIGNAL(displayNameChanged(const TQString&, const TQString&)), this, TQ_SLOT(slotDisplayNameChanged()));
+ disconnect(myself(), TQ_SIGNAL(photoChanged()), this, TQ_SLOT(slotPhotoChanged()));
- connect(myself(), TQT_SIGNAL(displayNameChanged(const TQString&, const TQString&)), this, TQT_SLOT(slotDisplayNameChanged()));
- connect(myself(), TQT_SIGNAL(photoChanged()), this, TQT_SLOT(slotPhotoChanged()));
+ connect(myself(), TQ_SIGNAL(displayNameChanged(const TQString&, const TQString&)), this, TQ_SLOT(slotDisplayNameChanged()));
+ connect(myself(), TQ_SIGNAL(photoChanged()), this, TQ_SLOT(slotPhotoChanged()));
// Ensure that the myself metaContactId is always the KABC whoAmI
TDEABC::Addressee a = TDEABC::StdAddressBook::self()->whoAmI();
@@ -324,8 +324,8 @@ void ContactList::loadGlobalIdentity()
}
else
{
- disconnect(myself(), TQT_SIGNAL(displayNameChanged(const TQString&, const TQString&)), this, TQT_SLOT(slotDisplayNameChanged()));
- disconnect(myself(), TQT_SIGNAL(photoChanged()), this, TQT_SLOT(slotPhotoChanged()));
+ disconnect(myself(), TQ_SIGNAL(displayNameChanged(const TQString&, const TQString&)), this, TQ_SLOT(slotDisplayNameChanged()));
+ disconnect(myself(), TQ_SIGNAL(photoChanged()), this, TQ_SLOT(slotPhotoChanged()));
}
}
@@ -370,7 +370,7 @@ void ContactList::load()
{
loadXML();
// Apply the global identity when all the protocols plugins are loaded.
- connect(PluginManager::self(), TQT_SIGNAL(allPluginsLoaded()), this, TQT_SLOT(loadGlobalIdentity()));
+ connect(PluginManager::self(), TQ_SIGNAL(allPluginsLoaded()), this, TQ_SLOT(loadGlobalIdentity()));
}
void ContactList::loadXML()
diff --git a/kopete/libkopete/kopetecontactlist.h b/kopete/libkopete/kopetecontactlist.h
index cc4ebd16..5099b427 100644
--- a/kopete/libkopete/kopetecontactlist.h
+++ b/kopete/libkopete/kopetecontactlist.h
@@ -243,7 +243,7 @@ signals:
*
* Connect signal in your Account constructor:
* @code
- * connect(Kopete::ContactList::self(), TQT_SIGNAL(globalIdentityChanged(const TQString&, const TQVariant&)), TQT_SLOT(slotglobalIdentityChanged(const TQString&, const TQVariant&)));
+ * connect(Kopete::ContactList::self(), TQ_SIGNAL(globalIdentityChanged(const TQString&, const TQVariant&)), TQ_SLOT(slotglobalIdentityChanged(const TQString&, const TQVariant&)));
* @endcode
*
* Example of a typical implemented slot:
diff --git a/kopete/libkopete/kopetecontactlistelement.cpp b/kopete/libkopete/kopetecontactlistelement.cpp
index cfce58b6..ecba9396 100644
--- a/kopete/libkopete/kopetecontactlistelement.cpp
+++ b/kopete/libkopete/kopetecontactlistelement.cpp
@@ -41,7 +41,7 @@ ContactListElement::ContactListElement( TQObject *parent, const char *name )
d->useCustomIcon = false;
#if 0 //TODO
- connect( Kopete::Global::onlineStatusIconCache(), TQT_SIGNAL( iconsChanged() ), TQT_SIGNAL( iconAppearanceChanged() ) );
+ connect( Kopete::Global::onlineStatusIconCache(), TQ_SIGNAL( iconsChanged() ), TQ_SIGNAL( iconAppearanceChanged() ) );
#endif
}
diff --git a/kopete/libkopete/kopetegroup.cpp b/kopete/libkopete/kopetegroup.cpp
index c73194bd..be64a09c 100644
--- a/kopete/libkopete/kopetegroup.cpp
+++ b/kopete/libkopete/kopetegroup.cpp
@@ -279,7 +279,7 @@ void Group::sendMessage()
c->sendMessage();
if( c->manager( Contact::CanCreate ) )
{
- connect( c->manager(), TQT_SIGNAL( messageSent( Kopete::Message&, Kopete::ChatSession* ) ), this, TQT_SLOT( sendMessage( Kopete::Message& ) ));
+ connect( c->manager(), TQ_SIGNAL( messageSent( Kopete::Message&, Kopete::ChatSession* ) ), this, TQ_SLOT( sendMessage( Kopete::Message& ) ));
}
}
@@ -290,7 +290,7 @@ void Group::sendMessage( Message& msg )
ChatSession *cs=msg.manager();
if( cs )
{
- disconnect( cs, TQT_SIGNAL( messageSent( Kopete::Message&, Kopete::ChatSession* ) ), this, TQT_SLOT( sendMessage( Kopete::Message& ) ) );
+ disconnect( cs, TQ_SIGNAL( messageSent( Kopete::Message&, Kopete::ChatSession* ) ), this, TQ_SLOT( sendMessage( Kopete::Message& ) ) );
}
else
return;
diff --git a/kopete/libkopete/kopetemessageevent.cpp b/kopete/libkopete/kopetemessageevent.cpp
index 8482205c..ba8b22b5 100644
--- a/kopete/libkopete/kopetemessageevent.cpp
+++ b/kopete/libkopete/kopetemessageevent.cpp
@@ -44,7 +44,7 @@ MessageEvent::MessageEvent( const Message& m, TQObject *parent, const char *name
d->state = Nothing;
const Contact *c=m.from();
if(c)
- connect(c,TQT_SIGNAL(contactDestroyed( Kopete::Contact* )),this,TQT_SLOT(discard()));
+ connect(c,TQ_SIGNAL(contactDestroyed( Kopete::Contact* )),this,TQ_SLOT(discard()));
}
MessageEvent::~MessageEvent()
diff --git a/kopete/libkopete/kopetemessagehandler.cpp b/kopete/libkopete/kopetemessagehandler.cpp
index 01dd6af5..34bc9f0f 100644
--- a/kopete/libkopete/kopetemessagehandler.cpp
+++ b/kopete/libkopete/kopetemessagehandler.cpp
@@ -56,7 +56,7 @@ int MessageHandler::capabilities()
void MessageHandler::handleMessageInternal( MessageEvent *event )
{
- connect( event, TQT_SIGNAL( accepted(Kopete::MessageEvent*) ), this, TQT_SLOT( messageAccepted(Kopete::MessageEvent*) ) );
+ connect( event, TQ_SIGNAL( accepted(Kopete::MessageEvent*) ), this, TQ_SLOT( messageAccepted(Kopete::MessageEvent*) ) );
handleMessage( event );
}
@@ -67,7 +67,7 @@ void MessageHandler::handleMessage( MessageEvent *event )
void MessageHandler::messageAccepted( MessageEvent *event )
{
- disconnect( event, TQT_SIGNAL( accepted(Kopete::MessageEvent*) ), this, TQT_SLOT( messageAccepted(Kopete::MessageEvent*) ) );
+ disconnect( event, TQ_SIGNAL( accepted(Kopete::MessageEvent*) ), this, TQ_SLOT( messageAccepted(Kopete::MessageEvent*) ) );
d->next->handleMessageInternal( event );
}
diff --git a/kopete/libkopete/kopetemessagehandlerchain.cpp b/kopete/libkopete/kopetemessagehandlerchain.cpp
index 26def158..42ab4cc1 100644
--- a/kopete/libkopete/kopetemessagehandlerchain.cpp
+++ b/kopete/libkopete/kopetemessagehandlerchain.cpp
@@ -151,8 +151,8 @@ public:
ProcessMessageTask::ProcessMessageTask( MessageHandlerChain::Ptr chain, MessageEvent *event )
: d( new Private(chain, event) )
{
- TQTimer::singleShot( 0, this, TQT_SLOT( slotStart() ) );
- connect( event, TQT_SIGNAL( done( Kopete::MessageEvent* ) ), this, TQT_SLOT( slotDone() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotStart() ) );
+ connect( event, TQ_SIGNAL( done( Kopete::MessageEvent* ) ), this, TQ_SLOT( slotDone() ) );
event->message().manager()->ref();
}
diff --git a/kopete/libkopete/kopetemetacontact.cpp b/kopete/libkopete/kopetemetacontact.cpp
index 18794350..d77c79eb 100644
--- a/kopete/libkopete/kopetemetacontact.cpp
+++ b/kopete/libkopete/kopetemetacontact.cpp
@@ -101,18 +101,18 @@ MetaContact::MetaContact()
{
d = new Private;
- connect( this, TQT_SIGNAL( pluginDataChanged() ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( iconChanged( Kopete::ContactListElement::IconState, const TQString & ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( useCustomIconChanged( bool ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( movedToGroup( Kopete::MetaContact *, Kopete::Group *, Kopete::Group * ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( removedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( addedToGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( contactAdded( Kopete::Contact * ) ), TQT_SIGNAL( persistentDataChanged() ) );
- connect( this, TQT_SIGNAL( contactRemoved( Kopete::Contact * ) ), TQT_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( pluginDataChanged() ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( iconChanged( Kopete::ContactListElement::IconState, const TQString & ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( useCustomIconChanged( bool ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( displayNameChanged( const TQString &, const TQString & ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( movedToGroup( Kopete::MetaContact *, Kopete::Group *, Kopete::Group * ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( removedFromGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( addedToGroup( Kopete::MetaContact *, Kopete::Group * ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( contactAdded( Kopete::Contact * ) ), TQ_SIGNAL( persistentDataChanged() ) );
+ connect( this, TQ_SIGNAL( contactRemoved( Kopete::Contact * ) ), TQ_SIGNAL( persistentDataChanged() ) );
// Update the KABC picture when the KDE Address book change.
- connect(KABCPersistence::self()->addressBook(), TQT_SIGNAL(addressBookChanged(AddressBook *)), this, TQT_SLOT(slotUpdateAddressBookPicture()));
+ connect(KABCPersistence::self()->addressBook(), TQ_SIGNAL(addressBookChanged(AddressBook *)), this, TQ_SLOT(slotUpdateAddressBookPicture()));
// make sure MetaContact is at least in one group
addToGroup( Group::topLevel() );
@@ -135,17 +135,17 @@ void MetaContact::addContact( Contact *c )
{
d->contacts.append( c );
- connect( c, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- TQT_SLOT( slotContactStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ connect( c, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ TQ_SLOT( slotContactStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
- connect( c, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
- this, TQT_SLOT( slotPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) ) ;
+ connect( c, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
+ this, TQ_SLOT( slotPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) ) ;
- connect( c, TQT_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
- this, TQT_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
+ connect( c, TQ_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
+ this, TQ_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
- connect( c, TQT_SIGNAL( idleStateChanged( Kopete::Contact * ) ),
- this, TQT_SIGNAL( contactIdleStateChanged( Kopete::Contact * ) ) );
+ connect( c, TQ_SIGNAL( idleStateChanged( Kopete::Contact * ) ),
+ this, TQ_SIGNAL( contactIdleStateChanged( Kopete::Contact * ) ) );
emit contactAdded(c);
@@ -258,14 +258,14 @@ void MetaContact::removeContact(Contact *c, bool deleted)
if(!deleted)
{ //If this function is tell by slotContactRemoved, c is maybe just a TQObject
- disconnect( c, TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotContactStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
- disconnect( c, TQT_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
- this, TQT_SLOT( slotPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) ) ;
- disconnect( c, TQT_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
- this, TQT_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
- disconnect( c, TQT_SIGNAL( idleStateChanged( Kopete::Contact * ) ),
- this, TQT_SIGNAL( contactIdleStateChanged( Kopete::Contact *) ) );
+ disconnect( c, TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotContactStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ) );
+ disconnect( c, TQ_SIGNAL( propertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ),
+ this, TQ_SLOT( slotPropertyChanged( Kopete::Contact *, const TQString &, const TQVariant &, const TQVariant & ) ) ) ;
+ disconnect( c, TQ_SIGNAL( contactDestroyed( Kopete::Contact * ) ),
+ this, TQ_SLOT( slotContactDestroyed( Kopete::Contact * ) ) );
+ disconnect( c, TQ_SIGNAL( idleStateChanged( Kopete::Contact * ) ),
+ this, TQ_SIGNAL( contactIdleStateChanged( Kopete::Contact *) ) );
kdDebug( 14010 ) << k_funcinfo << "Contact disconnected" << endl;
@@ -1215,16 +1215,16 @@ bool MetaContact::fromXML( const TQDomElement& element )
}
// If a plugin is loaded, load data cached
- connect( Kopete::PluginManager::self(), TQT_SIGNAL( pluginLoaded(Kopete::Plugin*) ),
- this, TQT_SLOT( slotPluginLoaded(Kopete::Plugin*) ) );
+ connect( Kopete::PluginManager::self(), TQ_SIGNAL( pluginLoaded(Kopete::Plugin*) ),
+ this, TQ_SLOT( slotPluginLoaded(Kopete::Plugin*) ) );
// All plugins are already loaded, call manually the contact setting slot.
if( Kopete::PluginManager::self()->isAllPluginsLoaded() )
slotAllPluginsLoaded();
else
// When all plugins are loaded, set the source contact.
- connect( Kopete::PluginManager::self(), TQT_SIGNAL( allPluginsLoaded() ),
- this, TQT_SLOT( slotAllPluginsLoaded() ) );
+ connect( Kopete::PluginManager::self(), TQ_SIGNAL( allPluginsLoaded() ),
+ this, TQ_SLOT( slotAllPluginsLoaded() ) );
// track changes only works if ONE Contact is inside the MetaContact
// if (d->contacts.count() > 1) // Does NOT work as intended
diff --git a/kopete/libkopete/kopeteonlinestatusmanager.cpp b/kopete/libkopete/kopeteonlinestatusmanager.cpp
index 515a9ec1..9c260c48 100644
--- a/kopete/libkopete/kopeteonlinestatusmanager.cpp
+++ b/kopete/libkopete/kopeteonlinestatusmanager.cpp
@@ -69,7 +69,7 @@ OnlineStatusManager::OnlineStatusManager()
{
d->iconCache.setAutoDelete( true );
d->nullPixmap = new TQPixmap;
- connect( kapp, TQT_SIGNAL( iconChanged(int) ), this, TQT_SLOT( slotIconsChanged() ) );
+ connect( kapp, TQ_SIGNAL( iconChanged(int) ), this, TQ_SLOT( slotIconsChanged() ) );
}
OnlineStatusManager::~OnlineStatusManager()
@@ -393,14 +393,14 @@ void OnlineStatusManager::createAccountStatusActions( Account *account , TDEActi
if(options & OnlineStatusManager::HasAwayMessage)
{
action = new AwayAction( status, caption, status.iconFor(account), 0, account,
- TQT_SLOT( setOnlineStatus( const Kopete::OnlineStatus&, const TQString& ) ),
+ TQ_SLOT( setOnlineStatus( const Kopete::OnlineStatus&, const TQString& ) ),
account, actionName );
}
else
{
action=new OnlineStatusAction( status, caption, status.iconFor(account) , account, actionName );
- connect(action,TQT_SIGNAL(activated(const Kopete::OnlineStatus&)) ,
- account, TQT_SLOT(setOnlineStatus(const Kopete::OnlineStatus&)));
+ connect(action,TQ_SIGNAL(activated(const Kopete::OnlineStatus&)) ,
+ account, TQ_SLOT(setOnlineStatus(const Kopete::OnlineStatus&)));
}
}
@@ -420,7 +420,7 @@ void OnlineStatusManager::createAccountStatusActions( Account *account , TDEActi
OnlineStatusAction::OnlineStatusAction( const OnlineStatus& status, const TQString &text, const TQIconSet &pix, TQObject *parent, const char *name)
: TDEAction( text, pix, TDEShortcut() , parent, name) , m_status(status)
{
- connect(this,TQT_SIGNAL(activated()),this,TQT_SLOT(slotActivated()));
+ connect(this,TQ_SIGNAL(activated()),this,TQ_SLOT(slotActivated()));
}
void OnlineStatusAction::slotActivated()
diff --git a/kopete/libkopete/kopetepassword.cpp b/kopete/libkopete/kopetepassword.cpp
index 82180866..ebfddee3 100644
--- a/kopete/libkopete/kopetepassword.cpp
+++ b/kopete/libkopete/kopetepassword.cpp
@@ -92,7 +92,7 @@ public:
void begin()
{
kdDebug( 14010 ) << k_funcinfo << endl;
- Kopete::WalletManager::self()->openWallet( this, TQT_SLOT( walletReceived( TDEWallet::Wallet* ) ) );
+ Kopete::WalletManager::self()->openWallet( this, TQ_SLOT( walletReceived( TDEWallet::Wallet* ) ) );
}
void walletReceived( TDEWallet::Wallet *wallet )
@@ -198,9 +198,9 @@ public:
mView->adjustSize();
passwdDialog->adjustSize();
- connect( passwdDialog, TQT_SIGNAL( okClicked() ), TQT_SLOT( slotOkPressed() ) );
- connect( passwdDialog, TQT_SIGNAL( cancelClicked() ), TQT_SLOT( slotCancelPressed() ) );
- connect( this, TQT_SIGNAL( destroyed() ), passwdDialog, TQT_SLOT( deleteLater() ) );
+ connect( passwdDialog, TQ_SIGNAL( okClicked() ), TQ_SLOT( slotOkPressed() ) );
+ connect( passwdDialog, TQ_SIGNAL( cancelClicked() ), TQ_SLOT( slotCancelPressed() ) );
+ connect( this, TQ_SIGNAL( destroyed() ), passwdDialog, TQ_SLOT( deleteLater() ) );
passwdDialog->show();
}
@@ -455,14 +455,14 @@ void Kopete::Password::requestWithoutPrompt( TQObject *returnObj, const char *sl
{
KopetePasswordRequest *request = new KopetePasswordGetRequestNoPrompt( returnObj, *this );
// call connect on returnObj so we can still connect if 'slot' is protected/private
- returnObj->connect( request, TQT_SIGNAL( requestFinished( const TQString & ) ), slot );
+ returnObj->connect( request, TQ_SIGNAL( requestFinished( const TQString & ) ), slot );
request->begin();
}
void Kopete::Password::request( TQObject *returnObj, const char *slot, const TQPixmap &image, const TQString &prompt, Kopete::Password::PasswordSource source )
{
KopetePasswordRequest *request = new KopetePasswordGetRequestPrompt( returnObj, *this, image, prompt, source );
- returnObj->connect( request, TQT_SIGNAL( requestFinished( const TQString & ) ), slot );
+ returnObj->connect( request, TQ_SIGNAL( requestFinished( const TQString & ) ), slot );
request->begin();
}
diff --git a/kopete/libkopete/kopetepasswordedaccount.cpp b/kopete/libkopete/kopetepasswordedaccount.cpp
index 0eeca86c..fe349f90 100644
--- a/kopete/libkopete/kopetepasswordedaccount.cpp
+++ b/kopete/libkopete/kopetepasswordedaccount.cpp
@@ -74,7 +74,7 @@ void Kopete::PasswordedAccount::connect( const Kopete::OnlineStatus& initialStat
TQString prompt = passwordPrompt();
Kopete::Password::PasswordSource src = password().isWrong() ? Kopete::Password::FromUser : Kopete::Password::FromConfigOrUser;
- password().request( this, TQT_SLOT( connectWithPassword( const TQString & ) ), accountIcon( Kopete::Password::preferredImageSize() ), prompt, src );
+ password().request( this, TQ_SLOT( connectWithPassword( const TQString & ) ), accountIcon( Kopete::Password::preferredImageSize() ), prompt, src );
}
TQString Kopete::PasswordedAccount::passwordPrompt()
diff --git a/kopete/libkopete/kopeteplugin.cpp b/kopete/libkopete/kopeteplugin.cpp
index 0e83498a..99c95fba 100644
--- a/kopete/libkopete/kopeteplugin.cpp
+++ b/kopete/libkopete/kopeteplugin.cpp
@@ -36,7 +36,7 @@ Plugin::Plugin( TDEInstance *instance, TQObject *parent, const char *name )
: TQObject( parent, name ), KXMLGUIClient(), d(new Private)
{
setInstance( instance );
- KSettings::Dispatcher::self()->registerInstance( instance, this, TQT_SIGNAL( settingsChanged() ) );
+ KSettings::Dispatcher::self()->registerInstance( instance, this, TQ_SIGNAL( settingsChanged() ) );
}
Plugin::~Plugin()
diff --git a/kopete/libkopete/kopetepluginmanager.cpp b/kopete/libkopete/kopetepluginmanager.cpp
index 986cd84e..22ea8c63 100644
--- a/kopete/libkopete/kopetepluginmanager.cpp
+++ b/kopete/libkopete/kopetepluginmanager.cpp
@@ -205,7 +205,7 @@ void PluginManager::shutdown()
kdDebug(14010) << k_funcinfo << "Running under valgrind, disabling plugin unload timeout guard" << endl;
else
#endif
- TQTimer::singleShot( 3000, this, TQT_SLOT( slotShutdownTimeout() ) );
+ TQTimer::singleShot( 3000, this, TQ_SLOT( slotShutdownTimeout() ) );
}
void PluginManager::slotPluginReadyForUnload()
@@ -311,7 +311,7 @@ void PluginManager::loadAllPlugins()
}
}
// Schedule the plugins to load
- TQTimer::singleShot( 0, this, TQT_SLOT( slotLoadNextPlugin() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotLoadNextPlugin() ) );
}
void PluginManager::slotLoadNextPlugin()
@@ -334,7 +334,7 @@ void PluginManager::slotLoadNextPlugin()
// allPluginsLoaded() signal's handling. This has the added benefit that
// the signal is delayed one event loop, so the accounts are more likely
// to be instantiated.
- TQTimer::singleShot( 0, this, TQT_SLOT( slotLoadNextPlugin() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotLoadNextPlugin() ) );
}
Plugin * PluginManager::loadPlugin( const TQString &_pluginId, PluginLoadMode mode /* = LoadSync */ )
@@ -356,7 +356,7 @@ Plugin * PluginManager::loadPlugin( const TQString &_pluginId, PluginLoadMode mo
else
{
d->pluginsToLoad.push( pluginId );
- TQTimer::singleShot( 0, this, TQT_SLOT( slotLoadNextPlugin() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotLoadNextPlugin() ) );
return 0L;
}
}
@@ -384,8 +384,8 @@ Plugin *PluginManager::loadPluginInternal( const TQString &pluginId )
d->loadedPlugins.insert( info, plugin );
info->setPluginEnabled( true );
- connect( plugin, TQT_SIGNAL( destroyed( TQObject * ) ), this, TQT_SLOT( slotPluginDestroyed( TQObject * ) ) );
- connect( plugin, TQT_SIGNAL( readyForUnload() ), this, TQT_SLOT( slotPluginReadyForUnload() ) );
+ connect( plugin, TQ_SIGNAL( destroyed( TQObject * ) ), this, TQ_SLOT( slotPluginDestroyed( TQObject * ) ) );
+ connect( plugin, TQ_SIGNAL( readyForUnload() ), this, TQ_SLOT( slotPluginReadyForUnload() ) );
kdDebug( 14010 ) << k_funcinfo << "Successfully loaded plugin '" << pluginId << "'" << endl;
@@ -454,7 +454,7 @@ void PluginManager::slotPluginDestroyed( TQObject *plugin )
{
// Use a timer to make sure any pending deleteLater() calls have
// been handled first
- TQTimer::singleShot( 0, this, TQT_SLOT( slotShutdownDone() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotShutdownDone() ) );
}
}
diff --git a/kopete/libkopete/kopeteprotocol.cpp b/kopete/libkopete/kopeteprotocol.cpp
index 6a2d3279..db40cced 100644
--- a/kopete/libkopete/kopeteprotocol.cpp
+++ b/kopete/libkopete/kopeteprotocol.cpp
@@ -99,8 +99,8 @@ void Protocol::slotAccountOnlineStatusChanged( Contact *self )
// some protocols change status several times during shutdown. We should only call deleteLater() once
disconnect( self, 0, this, 0 );
- connect( self->account(), TQT_SIGNAL(accountDestroyed(const Kopete::Account* )),
- this, TQT_SLOT( slotAccountDestroyed( ) ) );
+ connect( self->account(), TQ_SIGNAL(accountDestroyed(const Kopete::Account* )),
+ this, TQ_SLOT( slotAccountDestroyed( ) ) );
self->account()->deleteLater();
}
@@ -136,8 +136,8 @@ void Protocol::aboutToUnload()
" is still connected, disconnecting..." << endl;
TQObject::connect( it.current()->myself(),
- TQT_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
- this, TQT_SLOT( slotAccountOnlineStatusChanged( Kopete::Contact * ) ) );
+ TQ_SIGNAL( onlineStatusChanged( Kopete::Contact *, const Kopete::OnlineStatus &, const Kopete::OnlineStatus & ) ),
+ this, TQ_SLOT( slotAccountOnlineStatusChanged( Kopete::Contact * ) ) );
it.current()->disconnect();
}
else
@@ -146,8 +146,8 @@ void Protocol::aboutToUnload()
kdDebug( 14010 ) << k_funcinfo << it.current()->accountId() <<
" is already disconnected, deleting..." << endl;
- TQObject::connect( it.current(), TQT_SIGNAL( accountDestroyed( const Kopete::Account* ) ),
- this, TQT_SLOT( slotAccountDestroyed( ) ) );
+ TQObject::connect( it.current(), TQ_SIGNAL( accountDestroyed( const Kopete::Account* ) ),
+ this, TQ_SLOT( slotAccountDestroyed( ) ) );
it.current()->deleteLater();
}
}
diff --git a/kopete/libkopete/kopetesimplemessagehandler.cpp b/kopete/libkopete/kopetesimplemessagehandler.cpp
index 57677314..0c3722ba 100644
--- a/kopete/libkopete/kopetesimplemessagehandler.cpp
+++ b/kopete/libkopete/kopetesimplemessagehandler.cpp
@@ -55,7 +55,7 @@ MessageHandler *SimpleMessageHandlerFactory::create( ChatSession */*manager*/, M
if ( direction != d->direction )
return 0;
MessageHandler *handler = new SimpleMessageHandler;
- TQObject::connect( handler, TQT_SIGNAL( handle( Kopete::Message & ) ), d->target, d->slot );
+ TQObject::connect( handler, TQ_SIGNAL( handle( Kopete::Message & ) ), d->target, d->slot );
return handler;
}
diff --git a/kopete/libkopete/kopetetask.cpp b/kopete/libkopete/kopetetask.cpp
index 472fd1f1..73b75c08 100644
--- a/kopete/libkopete/kopetetask.cpp
+++ b/kopete/libkopete/kopetetask.cpp
@@ -72,18 +72,18 @@ void Task::abort( int flags )
void Task::addSubtask( Task *task )
{
d->subtasks.append( task );
- connect( task, TQT_SIGNAL( result( Kopete::Task* ) ),
- this, TQT_SLOT( slotResult( Kopete::Task* ) ) );
- connect( task, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
- this, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
+ connect( task, TQ_SIGNAL( result( Kopete::Task* ) ),
+ this, TQ_SLOT( slotResult( Kopete::Task* ) ) );
+ connect( task, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
+ this, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
}
void Task::removeSubtask( Task *task, RemoveSubtaskIfLast actionIfLast )
{
- disconnect( task, TQT_SIGNAL( result( Kopete::Task* ) ),
- this, TQT_SLOT( slotResult( Kopete::Task* ) ) );
- disconnect( task, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
- this, TQT_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
+ disconnect( task, TQ_SIGNAL( result( Kopete::Task* ) ),
+ this, TQ_SLOT( slotResult( Kopete::Task* ) ) );
+ disconnect( task, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ),
+ this, TQ_SIGNAL( statusMessage( Kopete::Task*, const TQString & ) ) );
d->subtasks.remove( task );
if ( d->subtasks.isEmpty() && actionIfLast == IfLastEmitResult )
emitResult( task->succeeded() ? ResultSucceeded : ResultFailed, task->errorString() );
diff --git a/kopete/libkopete/kopetetask.h b/kopete/libkopete/kopetetask.h
index 34151df1..9ba9daa8 100644
--- a/kopete/libkopete/kopetetask.h
+++ b/kopete/libkopete/kopetetask.h
@@ -29,8 +29,8 @@ namespace Kopete
*
* \code
* Kopete::Task *task = someobject->someoperation( some parameters );
- * connect( task, TQT_SIGNAL( result( Kopete::Task * ) ),
- * this, TQT_SLOT( slotResult( Kopete::Task * ) ) );
+ * connect( task, TQ_SIGNAL( result( Kopete::Task * ) ),
+ * this, TQ_SLOT( slotResult( Kopete::Task * ) ) );
* \endcode
* (other connects, specific to the job)
*
diff --git a/kopete/libkopete/kopetetransfermanager.cpp b/kopete/libkopete/kopetetransfermanager.cpp
index 1df5b7c7..7738664b 100644
--- a/kopete/libkopete/kopetetransfermanager.cpp
+++ b/kopete/libkopete/kopetetransfermanager.cpp
@@ -72,7 +72,7 @@ void Kopete::Transfer::init( const KURL &target, bool showProgressInfo )
if( showProgressInfo )
Observer::self()->slotCopying( this, sourceURL(), destinationURL() );
- connect( this, TQT_SIGNAL( result( TDEIO::Job* ) ), TQT_SLOT( slotResultEmitted() ) );
+ connect( this, TQ_SIGNAL( result( TDEIO::Job* ) ), TQ_SLOT( slotResultEmitted() ) );
setAutoErrorHandlingEnabled( true, 0 );
}
@@ -169,7 +169,7 @@ Kopete::Transfer* Kopete::TransferManager::addTransfer( Kopete::Contact *contac
nextID++;
Kopete::FileTransferInfo info(contact, file, size, recipient,di, nextID);
Kopete::Transfer *trans = new Kopete::Transfer(info, contact);
- connect(trans, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotComplete(TDEIO::Job *)));
+ connect(trans, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotComplete(TDEIO::Job *)));
mTransfersMap.insert(nextID, trans);
return trans;
}
@@ -177,7 +177,7 @@ Kopete::Transfer* Kopete::TransferManager::addTransfer( Kopete::Contact *contac
void Kopete::TransferManager::slotAccepted(const Kopete::FileTransferInfo& info, const TQString& filename)
{
Kopete::Transfer *trans = new Kopete::Transfer(info, filename);
- connect(trans, TQT_SIGNAL(result(TDEIO::Job *)), this, TQT_SLOT(slotComplete(TDEIO::Job *)));
+ connect(trans, TQ_SIGNAL(result(TDEIO::Job *)), this, TQ_SLOT(slotComplete(TDEIO::Job *)));
mTransfersMap.insert(info.transferId(), trans);
emit accepted(trans,filename);
}
@@ -194,8 +194,8 @@ int Kopete::TransferManager::askIncomingTransfer( Kopete::Contact *contact, con
//FIXME!!! this will not be deleted if it's still open when kopete exits
KopeteFileConfirmDialog *diag= new KopeteFileConfirmDialog(info, description , 0 ) ;
- connect( diag, TQT_SIGNAL( accepted(const Kopete::FileTransferInfo&, const TQString&)) , this, TQT_SLOT( slotAccepted(const Kopete::FileTransferInfo&, const TQString&) ) );
- connect( diag, TQT_SIGNAL( refused(const Kopete::FileTransferInfo&)) , this, TQT_SIGNAL( refused(const Kopete::FileTransferInfo&) ) );
+ connect( diag, TQ_SIGNAL( accepted(const Kopete::FileTransferInfo&, const TQString&)) , this, TQ_SLOT( slotAccepted(const Kopete::FileTransferInfo&, const TQString&) ) );
+ connect( diag, TQ_SIGNAL( refused(const Kopete::FileTransferInfo&)) , this, TQ_SIGNAL( refused(const Kopete::FileTransferInfo&) ) );
diag->show();
return nextID;
}
@@ -260,9 +260,9 @@ void Kopete::TransferManager::sendFile( const KURL &file, const TQString &fname,
}
else
{
- connect( this, TQT_SIGNAL(sendFile(const KURL&, const TQString&, unsigned int)), sendTo, slot );
+ connect( this, TQ_SIGNAL(sendFile(const KURL&, const TQString&, unsigned int)), sendTo, slot );
emit sendFile( url, filename, size );
- disconnect( this, TQT_SIGNAL(sendFile(const KURL&, const TQString&, unsigned int)), sendTo, slot );
+ disconnect( this, TQ_SIGNAL(sendFile(const KURL&, const TQString&, unsigned int)), sendTo, slot );
}
}
}
diff --git a/kopete/libkopete/kopeteutils.cpp b/kopete/libkopete/kopeteutils.cpp
index f5cd0b2e..0684d183 100644
--- a/kopete/libkopete/kopeteutils.cpp
+++ b/kopete/libkopete/kopeteutils.cpp
@@ -60,8 +60,8 @@ void notify( TQPixmap pic, const TQString &eventid, const TQString &caption, con
info.debugInfo = debugInfo;
NotifyHelper::self()->registerNotification(n, info);
- TQObject::connect( n, TQT_SIGNAL(activated(unsigned int )) , NotifyHelper::self() , TQT_SLOT( slotEventActivated(unsigned int) ) );
- TQObject::connect( n, TQT_SIGNAL(closed()) , NotifyHelper::self() , TQT_SLOT( slotEventClosed() ) );
+ TQObject::connect( n, TQ_SIGNAL(activated(unsigned int )) , NotifyHelper::self() , TQ_SLOT( slotEventActivated(unsigned int) ) );
+ TQObject::connect( n, TQ_SIGNAL(closed()) , NotifyHelper::self() , TQ_SLOT( slotEventClosed() ) );
}
void notifyConnectionLost( const Account *account, const TQString &caption, const TQString &message, const TQString &explanation, const TQString &debugInfo )
diff --git a/kopete/libkopete/kopetewalletmanager.cpp b/kopete/libkopete/kopetewalletmanager.cpp
index 1ae97a48..679970cb 100644
--- a/kopete/libkopete/kopetewalletmanager.cpp
+++ b/kopete/libkopete/kopetewalletmanager.cpp
@@ -77,8 +77,8 @@ 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, TQT_SIGNAL( walletOpened( TDEWallet::Wallet* ) ), object, slot );
- //object->connect( d->signal, TQT_SIGNAL( walletOpened( TDEWallet::Wallet* ) ), slot );
+ connect( d->signal, TQ_SIGNAL( walletOpened( TDEWallet::Wallet* ) ), object, slot );
+ //object->connect( d->signal, TQ_SIGNAL( walletOpened( TDEWallet::Wallet* ) ), slot );
openWalletInner();
}
@@ -92,7 +92,7 @@ void Kopete::WalletManager::openWalletInner()
if ( d->wallet->isOpen() )
{
kdDebug(14010) << k_funcinfo << " wallet already open" << endl;
- TQTimer::singleShot( 0, this, TQT_SLOT( slotGiveExistingWallet() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotGiveExistingWallet() ) );
}
else
{
@@ -107,7 +107,7 @@ void Kopete::WalletManager::openWalletInner()
d->wallet = TDEWallet::Wallet::openWallet( TDEWallet::Wallet::NetworkWallet(),
mainWindowID(), TDEWallet::Wallet::Asynchronous );
- connect( d->wallet, TQT_SIGNAL( walletOpened(bool) ), TQT_SLOT( slotWalletChangedStatus() ) );
+ connect( d->wallet, TQ_SIGNAL( walletOpened(bool) ), TQ_SLOT( slotWalletChangedStatus() ) );
}
void Kopete::WalletManager::slotWalletChangedStatus()
@@ -122,7 +122,7 @@ void Kopete::WalletManager::slotWalletChangedStatus()
if ( d->wallet->setFolder( TQString::fromLatin1( "Kopete" ) ) )
{
// success!
- TQObject::connect( d->wallet, TQT_SIGNAL( walletClosed() ), this, TQT_SLOT( closeWallet() ) );
+ TQObject::connect( d->wallet, TQ_SIGNAL( walletClosed() ), this, TQ_SLOT( closeWallet() ) );
}
else
{
diff --git a/kopete/libkopete/managedconnectionaccount.cpp b/kopete/libkopete/managedconnectionaccount.cpp
index 7d2d02f6..0e548da1 100644
--- a/kopete/libkopete/managedconnectionaccount.cpp
+++ b/kopete/libkopete/managedconnectionaccount.cpp
@@ -27,8 +27,8 @@ namespace Kopete
ManagedConnectionAccount::ManagedConnectionAccount( Protocol *parent, const TQString &acctId, uint maxPasswordLength, const char *name )
: PasswordedAccount( parent, acctId, maxPasswordLength, name ), m_waitingForConnection( false )
{
- TQObject::connect( ConnectionManager::self(), TQT_SIGNAL(statusChanged(const TQString&, NetworkStatus::EnumStatus ) ),
- TQT_SLOT(slotConnectionStatusChanged(const TQString&, NetworkStatus::EnumStatus ) ) );
+ TQObject::connect( ConnectionManager::self(), TQ_SIGNAL(statusChanged(const TQString&, NetworkStatus::EnumStatus ) ),
+ TQ_SLOT(slotConnectionStatusChanged(const TQString&, NetworkStatus::EnumStatus ) ) );
}
void ManagedConnectionAccount::connectWithPassword( const TQString &password )
diff --git a/kopete/libkopete/private/kopetecommand.cpp b/kopete/libkopete/private/kopetecommand.cpp
index 7a21c5ed..acaca77c 100644
--- a/kopete/libkopete/private/kopetecommand.cpp
+++ b/kopete/libkopete/private/kopetecommand.cpp
@@ -47,11 +47,11 @@ void Kopete::Command::init( const TQString &command, const char* slot, const TQS
if( m_type == Kopete::CommandHandler::Normal )
{
- TQObject::connect( this, TQT_SIGNAL( handleCommand( const TQString &, Kopete::ChatSession *) ),
+ TQObject::connect( this, TQ_SIGNAL( handleCommand( const TQString &, Kopete::ChatSession *) ),
parent(), slot );
}
- TQObject::connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotAction() ) );
+ TQObject::connect( this, TQ_SIGNAL( activated() ), this, TQ_SLOT( slotAction() ) );
}
void Kopete::Command::slotAction()
diff --git a/kopete/libkopete/private/kopeteemoticons.cpp b/kopete/libkopete/private/kopeteemoticons.cpp
index 996fb2e2..ed0bdf5d 100644
--- a/kopete/libkopete/private/kopeteemoticons.cpp
+++ b/kopete/libkopete/private/kopeteemoticons.cpp
@@ -278,7 +278,7 @@ Emoticons::Emoticons( const TQString &theme ) : TQObject( kapp, "KopeteEmoticons
if(theme.isNull())
{
initEmoticons();
- connect( KopetePrefs::prefs(), TQT_SIGNAL(saved()), this, TQT_SLOT(initEmoticons()) );
+ connect( KopetePrefs::prefs(), TQ_SIGNAL(saved()), this, TQ_SLOT(initEmoticons()) );
}
else
{
diff --git a/kopete/libkopete/private/kopeteviewmanager.cpp b/kopete/libkopete/private/kopeteviewmanager.cpp
index 1c59b9a3..966bbf38 100644
--- a/kopete/libkopete/private/kopeteviewmanager.cpp
+++ b/kopete/libkopete/private/kopeteviewmanager.cpp
@@ -73,13 +73,13 @@ KopeteViewManager::KopeteViewManager()
d->activeView = 0L;
d->foreignMessage=false;
- connect( KopetePrefs::prefs(), TQT_SIGNAL( saved() ), this, TQT_SLOT( slotPrefsChanged() ) );
+ connect( KopetePrefs::prefs(), TQ_SIGNAL( saved() ), this, TQ_SLOT( slotPrefsChanged() ) );
- connect( Kopete::ChatSessionManager::self() , TQT_SIGNAL( display( Kopete::Message &, Kopete::ChatSession *) ),
- this, TQT_SLOT ( messageAppended( Kopete::Message &, Kopete::ChatSession *) ) );
+ connect( Kopete::ChatSessionManager::self() , TQ_SIGNAL( display( Kopete::Message &, Kopete::ChatSession *) ),
+ this, TQ_SLOT ( messageAppended( Kopete::Message &, Kopete::ChatSession *) ) );
- connect( Kopete::ChatSessionManager::self() , TQT_SIGNAL( readMessage() ),
- this, TQT_SLOT ( nextEvent() ) );
+ connect( Kopete::ChatSessionManager::self() , TQ_SIGNAL( readMessage() ),
+ this, TQ_SLOT ( nextEvent() ) );
slotPrefsChanged();
}
@@ -141,8 +141,8 @@ KopeteView *KopeteViewManager::view( Kopete::ChatSession* session, const TQStrin
d->foreignMessage = false;
d->managerMap.insert( session, newView );
- connect( session, TQT_SIGNAL( closing(Kopete::ChatSession *) ),
- this, TQT_SLOT(slotChatSessionDestroyed(Kopete::ChatSession*)) );
+ connect( session, TQ_SIGNAL( closing(Kopete::ChatSession *) ),
+ this, TQ_SLOT(slotChatSessionDestroyed(Kopete::ChatSession*)) );
return newView;
}
@@ -192,7 +192,7 @@ void KopeteViewManager::messageAppended( Kopete::Message &msg, Kopete::ChatSessi
{
Kopete::MessageEvent *event=new Kopete::MessageEvent(msg,manager);
d->eventList.append( event );
- connect(event, TQT_SIGNAL(done(Kopete::MessageEvent *)), this, TQT_SLOT(slotEventDeleted(Kopete::MessageEvent *)));
+ connect(event, TQ_SIGNAL(done(Kopete::MessageEvent *)), this, TQ_SLOT(slotEventDeleted(Kopete::MessageEvent *)));
Kopete::ChatSessionManager::self()->postNewEvent(event);
}
}
@@ -239,7 +239,7 @@ void KopeteViewManager::messageAppended( Kopete::Message &msg, Kopete::ChatSessi
KNotification *notify=KNotification::event(msg.from()->metaContact() , event, body.arg( TQStyleSheet::escape(msgFrom), TQStyleSheet::escape(msgText) ), 0, /*msg.from()->metaContact(),*/
w , i18n("View") );
- connect(notify,TQT_SIGNAL(activated(unsigned int )), manager , TQT_SLOT(raiseView()) );
+ connect(notify,TQ_SIGNAL(activated(unsigned int )), manager , TQ_SLOT(raiseView()) );
}
}
}
diff --git a/kopete/libkopete/tdeabcpersistence.cpp b/kopete/libkopete/tdeabcpersistence.cpp
index 1fc46098..0e23b0a6 100644
--- a/kopete/libkopete/tdeabcpersistence.cpp
+++ b/kopete/libkopete/tdeabcpersistence.cpp
@@ -178,7 +178,7 @@ void KABCPersistence::writeAddressBook( const TDEABC::Resource * res)
if ( !s_addrBookWritePending )
{
s_addrBookWritePending = true;
- TQTimer::singleShot( 2000, this, TQT_SLOT( slotWriteAddressBook() ) );
+ TQTimer::singleShot( 2000, this, TQ_SLOT( slotWriteAddressBook() ) );
}
}
diff --git a/kopete/libkopete/tests/kopetepasswordtest_program.cpp b/kopete/libkopete/tests/kopetepasswordtest_program.cpp
index 42649d74..b53394b3 100644
--- a/kopete/libkopete/tests/kopetepasswordtest_program.cpp
+++ b/kopete/libkopete/tests/kopetepasswordtest_program.cpp
@@ -45,9 +45,9 @@ using namespace Kopete;
TQString retrieve( Password &pwd, const TQPixmap &image, const TQString &prompt )
{
PasswordRetriever r;
- pwd.request( &r, TQT_SLOT( gotPassword( const TQString & ) ), image, prompt );
+ pwd.request( &r, TQ_SLOT( gotPassword( const TQString & ) ), image, prompt );
TQTimer tmr;
- r.connect( &tmr, TQT_SIGNAL( timeout() ), TQT_SLOT( timer() ) );
+ r.connect( &tmr, TQ_SIGNAL( timeout() ), TQ_SLOT( timer() ) );
tmr.start( 1000 );
tqApp->exec();
return r.password;
@@ -112,7 +112,7 @@ int main( int argc, char *argv[] )
// without this, setting passwords will fail since they're
// set asynchronously.
- TQTimer::singleShot( 0, &app, TQT_SLOT( deref() ) );
+ TQTimer::singleShot( 0, &app, TQ_SLOT( deref() ) );
app.exec();
if ( setPassword )
diff --git a/kopete/libkopete/tests/kopetewallettest_program.cpp b/kopete/libkopete/tests/kopetewallettest_program.cpp
index a8ea1fd8..f127ba26 100644
--- a/kopete/libkopete/tests/kopetewallettest_program.cpp
+++ b/kopete/libkopete/tests/kopetewallettest_program.cpp
@@ -38,7 +38,7 @@ void closeWallet()
void delay()
{
- TQTimer::singleShot( 3000, tqApp, TQT_SLOT( quit() ) );
+ TQTimer::singleShot( 3000, tqApp, TQ_SLOT( quit() ) );
tqApp->exec();
}
@@ -46,7 +46,7 @@ void openWalletAsync()
{
WalletReciever *r = new WalletReciever;
_out << "[ASYNC] About to open wallet, receiver: " << r << endl;
- Kopete::WalletManager::self()->openWallet( r, TQT_SLOT( gotWallet( TDEWallet::Wallet* ) ) );
+ Kopete::WalletManager::self()->openWallet( r, TQ_SLOT( gotWallet( TDEWallet::Wallet* ) ) );
}
void WalletReciever::gotWallet( TDEWallet::Wallet *w )
@@ -85,11 +85,11 @@ int main( int argc, char *argv[] )
WalletReciever *r = new WalletReciever;
TQTimer timer;
- r->connect( &timer, TQT_SIGNAL( timeout() ), TQT_SLOT( timer() ) );
+ r->connect( &timer, TQ_SIGNAL( timeout() ), TQ_SLOT( timer() ) );
timer.start( 1000 );
_out << "About to start 30 second event loop" << endl;
- TQTimer::singleShot( 30000, tqApp, TQT_SLOT( quit() ) );
+ TQTimer::singleShot( 30000, tqApp, TQ_SLOT( quit() ) );
return tqApp->exec();
}
diff --git a/kopete/libkopete/ui/accountselector.cpp b/kopete/libkopete/ui/accountselector.cpp
index 8340e98b..1c40302c 100644
--- a/kopete/libkopete/ui/accountselector.cpp
+++ b/kopete/libkopete/ui/accountselector.cpp
@@ -119,8 +119,8 @@ void AccountSelector::initUI()
}
}
- connect(d->lv, TQT_SIGNAL(selectionChanged(TQListViewItem *)),
- this, TQT_SLOT(slotSelectionChanged(TQListViewItem *)));
+ connect(d->lv, TQ_SIGNAL(selectionChanged(TQListViewItem *)),
+ this, TQ_SLOT(slotSelectionChanged(TQListViewItem *)));
}
diff --git a/kopete/libkopete/ui/addressbooklinkwidget.cpp b/kopete/libkopete/ui/addressbooklinkwidget.cpp
index 80f9fba5..638f095b 100644
--- a/kopete/libkopete/ui/addressbooklinkwidget.cpp
+++ b/kopete/libkopete/ui/addressbooklinkwidget.cpp
@@ -41,8 +41,8 @@ namespace UI {
AddressBookLinkWidget::AddressBookLinkWidget( TQWidget * parent, const char * name ) : AddressBookLinkWidgetBase( parent, name ), mMetaContact( 0 )
{
btnClear->setIconSet( SmallIconSet( TQApplication::reverseLayout() ? TQString::fromLatin1( "locationbar_erase" ) : TQString::fromLatin1( "clear_left") ) );
- connect( btnClear, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotClearAddressee() ) );
- connect( btnSelectAddressee, TQT_SIGNAL( clicked() ), TQT_SLOT( slotSelectAddressee() ) );
+ connect( btnClear, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotClearAddressee() ) );
+ connect( btnSelectAddressee, TQ_SIGNAL( clicked() ), TQ_SLOT( slotSelectAddressee() ) );
}
void AddressBookLinkWidget::setAddressee( const TDEABC::Addressee& addr )
diff --git a/kopete/libkopete/ui/addressbookselectordialog.cpp b/kopete/libkopete/ui/addressbookselectordialog.cpp
index a63e15a2..6af9d64f 100644
--- a/kopete/libkopete/ui/addressbookselectordialog.cpp
+++ b/kopete/libkopete/ui/addressbookselectordialog.cpp
@@ -42,7 +42,7 @@ AddressBookSelectorDialog::AddressBookSelectorDialog(const TQString &title, cons
enableButtonOK(false);
//setHelp("linkaddressbook");
- connect(m_addressBookSelectorWidget, TQT_SIGNAL(addresseeListClicked( TQListViewItem * )), TQT_SLOT(slotWidgetAddresseeListClicked( TQListViewItem * )));
+ connect(m_addressBookSelectorWidget, TQ_SIGNAL(addresseeListClicked( TQListViewItem * )), TQ_SLOT(slotWidgetAddresseeListClicked( TQListViewItem * )));
if ( !preSelectUid.isEmpty() )
m_addressBookSelectorWidget->selectAddressee(preSelectUid);
diff --git a/kopete/libkopete/ui/addressbookselectorwidget.cpp b/kopete/libkopete/ui/addressbookselectorwidget.cpp
index 4f12bfab..bb46107b 100644
--- a/kopete/libkopete/ui/addressbookselectorwidget.cpp
+++ b/kopete/libkopete/ui/addressbookselectorwidget.cpp
@@ -60,17 +60,17 @@ AddressBookSelectorWidget::AddressBookSelectorWidget( TQWidget *parent, const ch
m_addressBook = Kopete::KABCPersistence::self()->addressBook();
// Addressee validation connections
- connect( addAddresseeButton, TQT_SIGNAL( clicked() ), TQT_SLOT( slotAddAddresseeClicked() ) );
- connect( addAddresseeButton, TQT_SIGNAL( clicked() ), TQT_SIGNAL( addAddresseeClicked() ) );
-
- connect( addresseeListView, TQT_SIGNAL( clicked(TQListViewItem * ) ),
- TQT_SIGNAL( addresseeListClicked( TQListViewItem * ) ) );
- connect( addresseeListView, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ),
- TQT_SIGNAL( addresseeListClicked( TQListViewItem * ) ) );
- connect( addresseeListView, TQT_SIGNAL( spacePressed( TQListViewItem * ) ),
- TQT_SIGNAL( addresseeListClicked( TQListViewItem * ) ) );
+ connect( addAddresseeButton, TQ_SIGNAL( clicked() ), TQ_SLOT( slotAddAddresseeClicked() ) );
+ connect( addAddresseeButton, TQ_SIGNAL( clicked() ), TQ_SIGNAL( addAddresseeClicked() ) );
+
+ connect( addresseeListView, TQ_SIGNAL( clicked(TQListViewItem * ) ),
+ TQ_SIGNAL( addresseeListClicked( TQListViewItem * ) ) );
+ connect( addresseeListView, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ),
+ TQ_SIGNAL( addresseeListClicked( TQListViewItem * ) ) );
+ connect( addresseeListView, TQ_SIGNAL( spacePressed( TQListViewItem * ) ),
+ TQ_SIGNAL( addresseeListClicked( TQListViewItem * ) ) );
- connect( m_addressBook, TQT_SIGNAL( addressBookChanged( AddressBook * ) ), this, TQT_SLOT( slotLoadAddressees() ) );
+ connect( m_addressBook, TQ_SIGNAL( addressBookChanged( AddressBook * ) ), this, TQ_SLOT( slotLoadAddressees() ) );
//We should add a clear TDEAction here. But we can't really do that with a designer file :\ this sucks
@@ -86,7 +86,7 @@ AddressBookSelectorWidget::AddressBookSelectorWidget( TQWidget *parent, const ch
AddressBookSelectorWidget::~AddressBookSelectorWidget()
{
- disconnect( m_addressBook, TQT_SIGNAL( addressBookChanged( AddressBook * ) ), this, TQT_SLOT( slotLoadAddressees() ) );
+ disconnect( m_addressBook, TQ_SIGNAL( addressBookChanged( AddressBook * ) ), this, TQ_SLOT( slotLoadAddressees() ) );
}
diff --git a/kopete/libkopete/ui/contactaddednotifydialog.cpp b/kopete/libkopete/ui/contactaddednotifydialog.cpp
index 642a8be3..be8ce604 100644
--- a/kopete/libkopete/ui/contactaddednotifydialog.cpp
+++ b/kopete/libkopete/ui/contactaddednotifydialog.cpp
@@ -102,10 +102,10 @@ ContactAddedNotifyDialog::ContactAddedNotifyDialog(const TQString& contactId,
}
d->widget->m_groupList->setCurrentText(TQString()); //default to top-level
- connect( d->widget->widAddresseeLink, TQT_SIGNAL( addresseeChanged( const TDEABC::Addressee& ) ), this, TQT_SLOT( slotAddresseeSelected( const TDEABC::Addressee& ) ) );
- connect( d->widget->m_infoButton, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotInfoClicked() ) );
+ connect( d->widget->widAddresseeLink, TQ_SIGNAL( addresseeChanged( const TDEABC::Addressee& ) ), this, TQ_SLOT( slotAddresseeSelected( const TDEABC::Addressee& ) ) );
+ connect( d->widget->m_infoButton, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotInfoClicked() ) );
- connect( this, TQT_SIGNAL(okClicked()) , this , TQT_SLOT(slotFinished()));
+ connect( this, TQ_SIGNAL(okClicked()) , this , TQ_SLOT(slotFinished()));
}
diff --git a/kopete/libkopete/ui/contactaddednotifydialog.h b/kopete/libkopete/ui/contactaddednotifydialog.h
index 139375d0..d012f022 100644
--- a/kopete/libkopete/ui/contactaddednotifydialog.h
+++ b/kopete/libkopete/ui/contactaddednotifydialog.h
@@ -44,8 +44,8 @@ namespace UI {
Kopete::UI::ContactAddedNotifyDialog *dialog =
new ContactAddedNotifyDialog(contactId, TQString(),account);
- TQObject::connect(dialog,TQT_SIGNAL(applyClicked(const TQString&)),this,TQT_SLOT(contactAddedDialogApplied()));
- TQObject::connect(dialog,TQT_SIGNAL(infoClicked(const TQString&)),this,TQT_SLOT(contactAddedDialogInfo()));
+ TQObject::connect(dialog,TQ_SIGNAL(applyClicked(const TQString&)),this,TQ_SLOT(contactAddedDialogApplied()));
+ TQObject::connect(dialog,TQ_SIGNAL(infoClicked(const TQString&)),this,TQ_SLOT(contactAddedDialogInfo()));
dialog->show();
* @endcode
diff --git a/kopete/libkopete/ui/kopetecontactaction.cpp b/kopete/libkopete/ui/kopetecontactaction.cpp
index f0b86442..3bf1e5b5 100644
--- a/kopete/libkopete/ui/kopetecontactaction.cpp
+++ b/kopete/libkopete/ui/kopetecontactaction.cpp
@@ -28,8 +28,8 @@ KopeteContactAction::KopeteContactAction( Kopete::Contact *contact, const TQObje
{
m_contact = contact;
- connect( this, TQT_SIGNAL( activated() ), TQT_SLOT( slotContactActionActivated() ) );
- connect( this, TQT_SIGNAL( activated( Kopete::Contact * ) ), receiver, slot );
+ connect( this, TQ_SIGNAL( activated() ), TQ_SLOT( slotContactActionActivated() ) );
+ connect( this, TQ_SIGNAL( activated( Kopete::Contact * ) ), receiver, slot );
}
KopeteContactAction::~KopeteContactAction()
diff --git a/kopete/libkopete/ui/kopetefileconfirmdialog.cpp b/kopete/libkopete/ui/kopetefileconfirmdialog.cpp
index 25aa6140..81936036 100644
--- a/kopete/libkopete/ui/kopetefileconfirmdialog.cpp
+++ b/kopete/libkopete/ui/kopetefileconfirmdialog.cpp
@@ -52,7 +52,7 @@ KopeteFileConfirmDialog::KopeteFileConfirmDialog(const Kopete::FileTransferInfo
setMainWidget(m_view);
- connect(m_view->cmdBrowse, TQT_SIGNAL(clicked()), this, TQT_SLOT(slotBrowsePressed()));
+ connect(m_view->cmdBrowse, TQ_SIGNAL(clicked()), this, TQ_SLOT(slotBrowsePressed()));
}
KopeteFileConfirmDialog::~KopeteFileConfirmDialog()
diff --git a/kopete/libkopete/ui/kopetelistview.cpp b/kopete/libkopete/ui/kopetelistview.cpp
index 965b2d25..6d9952ad 100644
--- a/kopete/libkopete/ui/kopetelistview.cpp
+++ b/kopete/libkopete/ui/kopetelistview.cpp
@@ -105,16 +105,16 @@ struct ListView::Private
ListView::ListView( TQWidget *parent, const char *name )
: TDEListView( parent, name ), d( new Private )
{
- connect( &d->sortTimer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( slotSort() ) );
+ connect( &d->sortTimer, TQ_SIGNAL( timeout() ), this, TQ_SLOT( slotSort() ) );
// We have our own tooltips, don't use the default TQListView ones
setShowToolTips( false );
d->toolTip.reset( new ToolTip( viewport(), this ) );
- connect( this, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ),
- TQT_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) );
- connect( this, TQT_SIGNAL( doubleClicked( TQListViewItem * ) ),
- TQT_SLOT( slotDoubleClicked( TQListViewItem * ) ) );
+ connect( this, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ),
+ TQ_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & ) ) );
+ connect( this, TQ_SIGNAL( doubleClicked( TQListViewItem * ) ),
+ TQ_SLOT( slotDoubleClicked( TQListViewItem * ) ) );
// set up flags for nicer painting
clearWFlags( WStaticContents );
diff --git a/kopete/libkopete/ui/kopetelistviewitem.cpp b/kopete/libkopete/ui/kopetelistviewitem.cpp
index a71b19f5..f194ecd5 100644
--- a/kopete/libkopete/ui/kopetelistviewitem.cpp
+++ b/kopete/libkopete/ui/kopetelistviewitem.cpp
@@ -1180,14 +1180,14 @@ public:
SharedTimer( int period ) : period(period), users(0) {}
void attach( TQObject *target, const char *slot )
{
- connect( this, TQT_SIGNAL(timeout()), target, slot );
+ connect( this, TQ_SIGNAL(timeout()), target, slot );
if( users++ == 0 )
start( period );
//kdDebug(14000) << "SharedTimer::attach: users is now " << users << "\n";
}
void detach( TQObject *target, const char *slot )
{
- disconnect( this, TQT_SIGNAL(timeout()), target, slot );
+ disconnect( this, TQ_SIGNAL(timeout()), target, slot );
if( --users == 0 )
stop();
//kdDebug(14000) << "SharedTimer::detach: users is now " << users << "\n";
@@ -1227,9 +1227,9 @@ class Item::Private
{
public:
Private( Item *item )
- : layoutAnimateTimer( theLayoutAnimateTimer(), item, TQT_SLOT( slotLayoutAnimateItems() ) )
+ : layoutAnimateTimer( theLayoutAnimateTimer(), item, TQ_SLOT( slotLayoutAnimateItems() ) )
, animateLayout( true ), opacity( 1.0 )
- , visibilityTimer( theVisibilityTimer(), item, TQT_SLOT( slotUpdateVisibility() ) )
+ , visibilityTimer( theVisibilityTimer(), item, TQ_SLOT( slotUpdateVisibility() ) )
, visibilityLevel( 0 ), visibilityTarget( false ), searchMatch( true )
{
}
@@ -1305,10 +1305,10 @@ void Item::setEffects( bool animation, bool fading, bool folding )
void Item::initLVI()
{
- connect( listView()->header(), TQT_SIGNAL( sizeChange( int, int, int ) ), TQT_SLOT( slotColumnResized() ) );
- connect( &d->layoutTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotLayoutItems() ) );
- //connect( &d->layoutAnimateTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotLayoutAnimateItems() ) );
- //connect( &d->visibilityTimer, TQT_SIGNAL( timeout() ), TQT_SLOT( slotUpdateVisibility() ) );
+ connect( listView()->header(), TQ_SIGNAL( sizeChange( int, int, int ) ), TQ_SLOT( slotColumnResized() ) );
+ connect( &d->layoutTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotLayoutItems() ) );
+ //connect( &d->layoutAnimateTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotLayoutAnimateItems() ) );
+ //connect( &d->visibilityTimer, TQ_SIGNAL( timeout() ), TQ_SLOT( slotUpdateVisibility() ) );
setVisible( false );
setTargetVisibility( true );
}
diff --git a/kopete/libkopete/ui/kopetepasswordwidget.cpp b/kopete/libkopete/ui/kopetepasswordwidget.cpp
index 10f6117f..37c411ca 100644
--- a/kopete/libkopete/ui/kopetepasswordwidget.cpp
+++ b/kopete/libkopete/ui/kopetepasswordwidget.cpp
@@ -41,15 +41,15 @@ Kopete::UI::PasswordWidget::~PasswordWidget()
void Kopete::UI::PasswordWidget::load( Kopete::Password *source )
{
- disconnect( mRemembered, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SLOT( slotRememberChanged() ) );
- disconnect( mPassword, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SIGNAL( changed() ) );
- disconnect( mRemembered, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SIGNAL( changed() ) );
+ disconnect( mRemembered, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SLOT( slotRememberChanged() ) );
+ disconnect( mPassword, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SIGNAL( changed() ) );
+ disconnect( mRemembered, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SIGNAL( changed() ) );
if ( source && source->remembered() )
{
mRemembered->setTristate();
mRemembered->setNoChange();
- source->requestWithoutPrompt( this, TQT_SLOT( receivePassword( const TQString & ) ) );
+ source->requestWithoutPrompt( this, TQ_SLOT( receivePassword( const TQString & ) ) );
}
else
{
@@ -64,9 +64,9 @@ void Kopete::UI::PasswordWidget::load( Kopete::Password *source )
mPassword->setEnabled( false );
- connect( mRemembered, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SLOT( slotRememberChanged() ) );
- connect( mPassword, TQT_SIGNAL( textChanged( const TQString & ) ), this, TQT_SIGNAL( changed() ) );
- connect( mRemembered, TQT_SIGNAL( stateChanged( int ) ), this, TQT_SIGNAL( changed() ) );
+ connect( mRemembered, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SLOT( slotRememberChanged() ) );
+ connect( mPassword, TQ_SIGNAL( textChanged( const TQString & ) ), this, TQ_SIGNAL( changed() ) );
+ connect( mRemembered, TQ_SIGNAL( stateChanged( int ) ), this, TQ_SIGNAL( changed() ) );
emit changed();
}
diff --git a/kopete/libkopete/ui/kopetestdaction.cpp b/kopete/libkopete/ui/kopetestdaction.cpp
index a5ba38d8..466a1c60 100644
--- a/kopete/libkopete/ui/kopetestdaction.cpp
+++ b/kopete/libkopete/ui/kopetestdaction.cpp
@@ -42,7 +42,7 @@ KopetePreferencesAction::KopetePreferencesAction( TDEActionCollection *parent, c
TQString::fromLatin1( "configure" ) ), 0, 0, 0, parent, name )
{
- connect( this, TQT_SIGNAL( activated() ), this, TQT_SLOT( slotShowPreferences() ) );
+ connect( this, TQ_SIGNAL( activated() ), this, TQ_SLOT( slotShowPreferences() ) );
}
KopetePreferencesAction::~KopetePreferencesAction()
diff --git a/kopete/libkopete/ui/kopeteview.h b/kopete/libkopete/ui/kopeteview.h
index b1daf472..86f3233f 100644
--- a/kopete/libkopete/ui/kopeteview.h
+++ b/kopete/libkopete/ui/kopeteview.h
@@ -120,7 +120,7 @@ class KOPETE_EXPORT KopeteView
/**
* @brief Inform the view the message was sent successfully
*
- * This should be reimplemented as a TQT_SLOT in any derived objects
+ * This should be reimplemented as a TQ_SLOT in any derived objects
*/
virtual void messageSentSuccessfully() = 0;
diff --git a/kopete/libkopete/ui/metacontactselectorwidget.cpp b/kopete/libkopete/ui/metacontactselectorwidget.cpp
index 8d049a5d..8e7fc61a 100644
--- a/kopete/libkopete/ui/metacontactselectorwidget.cpp
+++ b/kopete/libkopete/ui/metacontactselectorwidget.cpp
@@ -73,10 +73,10 @@ MetaContactSelectorWidgetLVI::MetaContactSelectorWidgetLVI(Kopete::MetaContact *
d->metaContact = mc;
d->photoSize = 60;
- connect( d->metaContact, TQT_SIGNAL( photoChanged() ),
- TQT_SLOT( slotPhotoChanged() ) );
- connect( d->metaContact, TQT_SIGNAL( displayNameChanged(const TQString&, const TQString&) ),
- TQT_SLOT( slotDisplayNameChanged() ) );
+ connect( d->metaContact, TQ_SIGNAL( photoChanged() ),
+ TQ_SLOT( slotPhotoChanged() ) );
+ connect( d->metaContact, TQ_SIGNAL( displayNameChanged(const TQString&, const TQString&) ),
+ TQ_SLOT( slotDisplayNameChanged() ) );
buildVisualComponents();
}
@@ -188,14 +188,14 @@ MetaContactSelectorWidget::MetaContactSelectorWidget( TQWidget *parent, const ch
d->widget = new MetaContactSelectorWidget_Base(this);
l->addWidget(d->widget);
- connect( d->widget->metaContactListView, TQT_SIGNAL( clicked(TQListViewItem * ) ),
- TQT_SIGNAL( metaContactListClicked( TQListViewItem * ) ) );
- connect( d->widget->metaContactListView, TQT_SIGNAL( selectionChanged( TQListViewItem * ) ),
- TQT_SIGNAL( metaContactListClicked( TQListViewItem * ) ) );
- connect( d->widget->metaContactListView, TQT_SIGNAL( spacePressed( TQListViewItem * ) ),
- TQT_SIGNAL( metaContactListClicked( TQListViewItem * ) ) );
+ connect( d->widget->metaContactListView, TQ_SIGNAL( clicked(TQListViewItem * ) ),
+ TQ_SIGNAL( metaContactListClicked( TQListViewItem * ) ) );
+ connect( d->widget->metaContactListView, TQ_SIGNAL( selectionChanged( TQListViewItem * ) ),
+ TQ_SIGNAL( metaContactListClicked( TQListViewItem * ) ) );
+ connect( d->widget->metaContactListView, TQ_SIGNAL( spacePressed( TQListViewItem * ) ),
+ TQ_SIGNAL( metaContactListClicked( TQListViewItem * ) ) );
- connect( Kopete::ContactList::self(), TQT_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), this, TQT_SLOT( slotLoadMetaContacts() ) );
+ connect( Kopete::ContactList::self(), TQ_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), this, TQ_SLOT( slotLoadMetaContacts() ) );
d->widget->kListViewSearchLine->setListView(d->widget->metaContactListView);
d->widget->metaContactListView->setFullWidth( true );
@@ -207,7 +207,7 @@ MetaContactSelectorWidget::MetaContactSelectorWidget( TQWidget *parent, const ch
MetaContactSelectorWidget::~MetaContactSelectorWidget()
{
- disconnect( Kopete::ContactList::self(), TQT_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), this, TQT_SLOT( slotLoadMetaContacts() ) );
+ disconnect( Kopete::ContactList::self(), TQ_SIGNAL( metaContactAdded( Kopete::MetaContact * ) ), this, TQ_SLOT( slotLoadMetaContacts() ) );
}