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/irc/ircaddcontactpage.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/irc/ircaddcontactpage.cpp')
-rw-r--r-- | kopete/protocols/irc/ircaddcontactpage.cpp | 30 |
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")); |