diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:48:06 +0000 |
commit | 47c8a359c5276062c4bc17f0e82410f29081b502 (patch) | |
tree | 2d54a5f60a5b74067632f9ef6df58c2bc38155e6 /kopete/protocols/jabber/ui/dlgjabbersendraw.cpp | |
parent | 6f82532777a35e0e60bbd2b290b2e93e646f349b (diff) | |
download | tdenetwork-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/jabber/ui/dlgjabbersendraw.cpp')
-rw-r--r-- | kopete/protocols/jabber/ui/dlgjabbersendraw.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kopete/protocols/jabber/ui/dlgjabbersendraw.cpp b/kopete/protocols/jabber/ui/dlgjabbersendraw.cpp index 17b2d181..4b9192dc 100644 --- a/kopete/protocols/jabber/ui/dlgjabbersendraw.cpp +++ b/kopete/protocols/jabber/ui/dlgjabbersendraw.cpp @@ -18,20 +18,20 @@ #include "dlgjabbersendraw.h" -#include <qcombobox.h> -#include <qpushbutton.h> -#include <qtextedit.h> +#include <tqcombobox.h> +#include <tqpushbutton.h> +#include <tqtextedit.h> #include <kdebug.h> #include "jabberclient.h" -dlgJabberSendRaw::dlgJabberSendRaw ( JabberClient *client, QWidget *parent, const char *name ) +dlgJabberSendRaw::dlgJabberSendRaw ( JabberClient *client, TQWidget *parent, const char *name ) : DlgSendRaw (parent, name) { // Connect the GUI elements to things that do stuff - connect (btnSend, SIGNAL (clicked ()), this, SLOT (slotSend ())); - connect (btnClose, SIGNAL (clicked ()), this, SLOT (slotCancel ())); - connect (btnClear, SIGNAL (clicked ()), this, SLOT (slotClear ())); - connect (inputWidget, SIGNAL (activated (int)), this, SLOT (slotCreateMessage (int))); + connect (btnSend, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slotSend ())); + connect (btnClose, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slotCancel ())); + connect (btnClear, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slotClear ())); + connect (inputWidget, TQT_SIGNAL (activated (int)), this, TQT_SLOT (slotCreateMessage (int))); m_client = client; @@ -58,7 +58,7 @@ void dlgJabberSendRaw::slotCreateMessage(int index) { switch (index) { case 1: - tePacket->setText(QString("<iq type='set' to='%1'>\n<query xmlns='jabber:iq:register'><remove/>\n</query>\n</iq>") + tePacket->setText(TQString("<iq type='set' to='%1'>\n<query xmlns='jabber:iq:register'><remove/>\n</query>\n</iq>") .arg ( m_client->jid().domain () ) ); break; case 2: @@ -68,11 +68,11 @@ void dlgJabberSendRaw::slotCreateMessage(int index) tePacket->setText("<iq type='get' to='USER@DOMAIN'>\n<query xmlns='jabber:iq:last'/></iq>"); break; case 4: - tePacket->setText(QString("<message to='USER@DOMAIN' from='%1@%2/%3'>\n<body>Body text</body>\n</message>") + tePacket->setText(TQString("<message to='USER@DOMAIN' from='%1@%2/%3'>\n<body>Body text</body>\n</message>") .arg ( m_client->jid().node (), m_client->jid().domain (), m_client->jid().resource () ) ); break; case 5: - tePacket->setText(QString("<message to='USER@DOMAIN' from='%1@%2/%3'>\n<subject>Subject</subject><body>Body text</body>\n</message>") + tePacket->setText(TQString("<message to='USER@DOMAIN' from='%1@%2/%3'>\n<subject>Subject</subject><body>Body text</body>\n</message>") .arg ( m_client->jid().node (), m_client->jid().domain (), m_client->jid().resource () ) ); break; |