summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/jabber/ui/dlgjabberbrowse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/jabber/ui/dlgjabberbrowse.cpp')
-rw-r--r--kopete/protocols/jabber/ui/dlgjabberbrowse.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kopete/protocols/jabber/ui/dlgjabberbrowse.cpp b/kopete/protocols/jabber/ui/dlgjabberbrowse.cpp
index f8e2b4ce..be558388 100644
--- a/kopete/protocols/jabber/ui/dlgjabberbrowse.cpp
+++ b/kopete/protocols/jabber/ui/dlgjabberbrowse.cpp
@@ -17,9 +17,9 @@
***************************************************************************/
#include <kpushbutton.h>
-#include <qgroupbox.h>
-#include <qtable.h>
-#include <qlabel.h>
+#include <tqgroupbox.h>
+#include <tqtable.h>
+#include <tqlabel.h>
#include <kmessagebox.h>
#include <klocale.h>
@@ -30,7 +30,7 @@
#include "jabberformtranslator.h"
#include "dlgjabberbrowse.h"
-dlgJabberBrowse::dlgJabberBrowse (JabberAccount *account, const XMPP::Jid & jid, QWidget * parent, const char *name):dlgBrowse (parent, name)
+dlgJabberBrowse::dlgJabberBrowse (JabberAccount *account, const XMPP::Jid & jid, TQWidget * parent, const char *name):dlgBrowse (parent, name)
{
m_account = account;
@@ -41,11 +41,11 @@ dlgJabberBrowse::dlgJabberBrowse (JabberAccount *account, const XMPP::Jid & jid,
tblResults->setNumRows (0);
// disable user selections
- tblResults->setSelectionMode (QTable::NoSelection);
+ tblResults->setSelectionMode (TQTable::NoSelection);
XMPP::JT_Search * task = new XMPP::JT_Search (m_account->client()->rootTask ());
- connect (task, SIGNAL (finished ()), this, SLOT (slotGotForm ()));
+ connect (task, TQT_SIGNAL (finished ()), this, TQT_SLOT (slotGotForm ()));
task->get (jid);
task->go (true);
@@ -83,7 +83,7 @@ void dlgJabberBrowse::slotGotForm ()
tblResults->setColumnStretchable (i, true);
}
- connect (btnSearch, SIGNAL (clicked ()), this, SLOT (slotSendForm ()));
+ connect (btnSearch, TQT_SIGNAL (clicked ()), this, TQT_SLOT (slotSendForm ()));
}
@@ -92,7 +92,7 @@ void dlgJabberBrowse::slotSendForm ()
XMPP::JT_Search * task = new XMPP::JT_Search (m_account->client()->rootTask ());
- connect (task, SIGNAL (finished ()), this, SLOT (slotSentForm ()));
+ connect (task, TQT_SIGNAL (finished ()), this, TQT_SLOT (slotSentForm ()));
task->set (translator->resultData ());
task->go (true);
@@ -120,7 +120,7 @@ void dlgJabberBrowse::slotSentForm ()
int row = 0;
- for (QValueList < XMPP::SearchResult >::const_iterator it = task->results ().begin (); it != task->results ().end (); ++it)
+ for (TQValueList < XMPP::SearchResult >::const_iterator it = task->results ().begin (); it != task->results ().end (); ++it)
{
tblResults->setText (row, 0, (*it).jid ().userHost ());
tblResults->setText (row, 1, (*it).first ());