summaryrefslogtreecommitdiffstats
path: root/kopete/protocols/irc/ircaddcontactpage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kopete/protocols/irc/ircaddcontactpage.cpp')
-rw-r--r--kopete/protocols/irc/ircaddcontactpage.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kopete/protocols/irc/ircaddcontactpage.cpp b/kopete/protocols/irc/ircaddcontactpage.cpp
index db4ca3b2..6b19721c 100644
--- a/kopete/protocols/irc/ircaddcontactpage.cpp
+++ b/kopete/protocols/irc/ircaddcontactpage.cpp
@@ -23,38 +23,38 @@
#include "ircaccount.h"
-#include <qlayout.h>
-#include <qlineedit.h>
-#include <qframe.h>
-#include <qtabwidget.h>
+#include <tqlayout.h>
+#include <tqlineedit.h>
+#include <tqframe.h>
+#include <tqtabwidget.h>
#include <kdebug.h>
#include <klocale.h>
#include <kmessagebox.h>
-IRCAddContactPage::IRCAddContactPage( QWidget *parent, IRCAccount *a ) : AddContactPage(parent, 0)
+IRCAddContactPage::IRCAddContactPage( TQWidget *parent, IRCAccount *a ) : AddContactPage(parent, 0)
{
- (new QVBoxLayout(this))->setAutoAdd(true);
+ (new TQVBoxLayout(this))->setAutoAdd(true);
ircdata = new ircAddUI(this);
- mSearch = new ChannelList( (QWidget*)ircdata->hbox, a->engine() );
+ mSearch = new ChannelList( (TQWidget*)ircdata->hbox, a->engine() );
mAccount = a;
- connect( mSearch, SIGNAL( channelSelected( const QString & ) ),
- this, SLOT( slotChannelSelected( const QString & ) ) );
+ connect( mSearch, TQT_SIGNAL( channelSelected( const TQString & ) ),
+ this, TQT_SLOT( slotChannelSelected( const TQString & ) ) );
- connect( mSearch, SIGNAL( channelDoubleClicked( const QString & ) ),
- this, SLOT( slotChannelDoubleClicked( const QString & ) ) );
+ connect( mSearch, TQT_SIGNAL( channelDoubleClicked( const TQString & ) ),
+ this, TQT_SLOT( slotChannelDoubleClicked( const TQString & ) ) );
}
IRCAddContactPage::~IRCAddContactPage()
{
}
-void IRCAddContactPage::slotChannelSelected( const QString &channel )
+void IRCAddContactPage::slotChannelSelected( const TQString &channel )
{
ircdata->addID->setText( channel );
}
-void IRCAddContactPage::slotChannelDoubleClicked( const QString &channel )
+void IRCAddContactPage::slotChannelDoubleClicked( const TQString &channel )
{
ircdata->addID->setText( channel );
ircdata->tabWidget3->setCurrentPage(0);
@@ -62,13 +62,13 @@ void IRCAddContactPage::slotChannelDoubleClicked( const QString &channel )
bool IRCAddContactPage::apply(Kopete::Account *account , Kopete::MetaContact *m)
{
- QString name = ircdata->addID->text();
+ TQString name = ircdata->addID->text();
return account->addContact(name, m, Kopete::Account::ChangeKABC );
}
bool IRCAddContactPage::validateData()
{
- QString name = ircdata->addID->text();
+ TQString name = ircdata->addID->text();
if (name.isEmpty() == true)
{
KMessageBox::sorry(this, i18n("<qt>You need to specify a channel to join, or query to open.</qt>"), i18n("You Must Specify a Channel"));