summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/icqreadaway.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/oscar/icq/icqreadaway.cpp')
-rw-r--r--kopete/protocols/oscar/icq/icqreadaway.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kopete/protocols/oscar/icq/icqreadaway.cpp b/kopete/protocols/oscar/icq/icqreadaway.cpp
index 94cccafd..28b86d33 100644
--- a/kopete/protocols/oscar/icq/icqreadaway.cpp
+++ b/kopete/protocols/oscar/icq/icqreadaway.cpp
@@ -20,7 +20,7 @@
#include "icqaccount.h"
#include "icqcontact.h"
-#include <qvbox.h>
+#include <tqvbox.h>
#include <ktextbrowser.h>
#include <klocale.h>
@@ -29,8 +29,8 @@
#include <assert.h>
-ICQReadAway::ICQReadAway(ICQContact *c, QWidget *parent, const char* name)
- : KDialogBase(parent, name, false, QString::null, Close | User1,
+ICQReadAway::ICQReadAway(ICQContact *c, TQWidget *parent, const char* name)
+ : KDialogBase(parent, name, false, TQString::null, Close | User1,
Close, false, i18n("&Fetch Again"))
{
assert(c);
@@ -39,27 +39,27 @@ ICQReadAway::ICQReadAway(ICQContact *c, QWidget *parent, const char* name)
mContact = c;
setCaption(i18n("'%2' Message for %1").arg(c->displayName()).arg(c->onlineStatus().description()));
- QVBox *mMainWidget = makeVBoxMainWidget();
+ TQVBox *mMainWidget = makeVBoxMainWidget();
awayMessageBrowser = new KTextBrowser(mMainWidget, "userInfoView");
awayMessageBrowser->setTextFormat(AutoText);
awayMessageBrowser->setNotifyClick(true);
awayMessageBrowser->setText(mContact->awayMessage());
- QObject::connect(
- awayMessageBrowser, SIGNAL(urlClick(const QString&)),
- this, SLOT(slotUrlClicked(const QString&)));
- QObject::connect(
- awayMessageBrowser, SIGNAL(mailClick(const QString&, const QString&)),
- this, SLOT(slotMailClicked(const QString&, const QString&)));
+ TQObject::connect(
+ awayMessageBrowser, TQT_SIGNAL(urlClick(const TQString&)),
+ this, TQT_SLOT(slotUrlClicked(const TQString&)));
+ TQObject::connect(
+ awayMessageBrowser, TQT_SIGNAL(mailClick(const TQString&, const TQString&)),
+ this, TQT_SLOT(slotMailClicked(const TQString&, const TQString&)));
- connect(this, SIGNAL(user1Clicked()),
- this, SLOT(slotFetchAwayMessage()));
- connect(this, SIGNAL(closeClicked()),
- this, SLOT(slotCloseClicked()));
+ connect(this, TQT_SIGNAL(user1Clicked()),
+ this, TQT_SLOT(slotFetchAwayMessage()));
+ connect(this, TQT_SIGNAL(closeClicked()),
+ this, TQT_SLOT(slotCloseClicked()));
- connect(c, SIGNAL(awayMessageChanged()),
- this, SLOT(slotAwayMessageChanged()));
+ connect(c, TQT_SIGNAL(awayMessageChanged()),
+ this, TQT_SLOT(slotAwayMessageChanged()));
slotFetchAwayMessage();
}
@@ -92,12 +92,12 @@ void ICQReadAway::slotCloseClicked()
emit closing();
}
-void ICQReadAway::slotUrlClicked(const QString &url)
+void ICQReadAway::slotUrlClicked(const TQString &url)
{
new KRun(KURL(url));
}
-void ICQReadAway::slotMailClicked(const QString&, const QString &address)
+void ICQReadAway::slotMailClicked(const TQString&, const TQString &address)
{
new KRun(KURL(address));
}