summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/oscar/icq/icqreadaway.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:48:06 +0000
commit47c8a359c5276062c4bc17f0e82410f29081b502 (patch)
tree2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/oscar/icq/icqreadaway.cpp
parent6f82532777a35e0e60bbd2b290b2e93e646f349b (diff)
downloadtdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.tar.gz
tdenetwork-47c8a359c5276062c4bc17f0e82410f29081b502.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdenetwork@1157648 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
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));
}