diff options
Diffstat (limited to 'konversation/src/query.cpp')
-rw-r--r-- | konversation/src/query.cpp | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/konversation/src/query.cpp b/konversation/src/query.cpp index 6b7541b..c4e070e 100644 --- a/konversation/src/query.cpp +++ b/konversation/src/query.cpp @@ -73,8 +73,8 @@ Query::Query(TQWidget* parent, TQString _name) : ChatWindow(parent) IRCViewBox* ircBox = new IRCViewBox(m_headerSplitter,0); setTextView(ircBox->ircView()); // Server will be set later in setServer(); textView->setAcceptDrops(true); - connect(textView,TQT_SIGNAL(filesDropped(const TQStrList&)),this,TQT_SLOT(filesDropped(const TQStrList&))); - connect(textView,TQT_SIGNAL(popupCommand(int)),this,TQT_SLOT(popup(int))); + connect(textView,TQ_SIGNAL(filesDropped(const TQStrList&)),this,TQ_SLOT(filesDropped(const TQStrList&))); + connect(textView,TQ_SIGNAL(popupCommand(int)),this,TQ_SLOT(popup(int))); // link "Whois", "Ignore" ... menu items into ircview popup TQPopupMenu* popup=textView->getPopup(); @@ -109,15 +109,15 @@ Query::Query(TQWidget* parent, TQString _name) : ChatWindow(parent) queryInput->installEventFilter(this); // connect the signals and slots - connect(queryInput,TQT_SIGNAL (submit()),this,TQT_SLOT (queryTextEntered()) ); - connect(queryInput,TQT_SIGNAL (envelopeCommand()),this,TQT_SLOT (queryPassthroughCommand()) ); - connect(queryInput,TQT_SIGNAL (textPasted(const TQString&)),this,TQT_SLOT (textPasted(const TQString&)) ); - connect(getTextView(), TQT_SIGNAL(textPasted(bool)), queryInput, TQT_SLOT(paste(bool))); - connect(getTextView(),TQT_SIGNAL (gotFocus()),queryInput,TQT_SLOT (setFocus()) ); + connect(queryInput,TQ_SIGNAL (submit()),this,TQ_SLOT (queryTextEntered()) ); + connect(queryInput,TQ_SIGNAL (envelopeCommand()),this,TQ_SLOT (queryPassthroughCommand()) ); + connect(queryInput,TQ_SIGNAL (textPasted(const TQString&)),this,TQ_SLOT (textPasted(const TQString&)) ); + connect(getTextView(), TQ_SIGNAL(textPasted(bool)), queryInput, TQ_SLOT(paste(bool))); + connect(getTextView(),TQ_SIGNAL (gotFocus()),queryInput,TQ_SLOT (setFocus()) ); - connect(textView,TQT_SIGNAL (sendFile()),this,TQT_SLOT (sendFileMenu()) ); - connect(textView,TQT_SIGNAL (extendedPopup(int)),this,TQT_SLOT (popup(int)) ); - connect(textView,TQT_SIGNAL (autoText(const TQString&)),this,TQT_SLOT (sendQueryText(const TQString&)) ); + connect(textView,TQ_SIGNAL (sendFile()),this,TQ_SLOT (sendFileMenu()) ); + connect(textView,TQ_SIGNAL (extendedPopup(int)),this,TQ_SLOT (popup(int)) ); + connect(textView,TQ_SIGNAL (autoText(const TQString&)),this,TQ_SLOT (sendQueryText(const TQString&)) ); updateAppearance(); @@ -131,8 +131,8 @@ Query::~Query() void Query::setServer(Server* newServer) { if (m_server != newServer) - connect(newServer, TQT_SIGNAL(connectionStateChanged(Server*, Konversation::ConnectionState)), - TQT_SLOT(connectionStateChanged(Server*, Konversation::ConnectionState))); + connect(newServer, TQ_SIGNAL(connectionStateChanged(Server*, Konversation::ConnectionState)), + TQ_SLOT(connectionStateChanged(Server*, Konversation::ConnectionState))); ChatWindow::setServer(newServer); @@ -398,7 +398,7 @@ void Query::popup(int id) "CloseQueryAfterIgnore"); if (rc == KMessageBox::Yes && m_server) - TQTimer::singleShot(0, this, TQT_SLOT(closeWithoutAsking())); + TQTimer::singleShot(0, this, TQ_SLOT(closeWithoutAsking())); } break; @@ -468,12 +468,12 @@ void Query::childAdjustFocus() void Query::setNickInfo(const NickInfoPtr & nickInfo) { if(m_nickInfo) - disconnect(m_nickInfo, TQT_SIGNAL(nickInfoChanged()), this, TQT_SLOT(nickInfoChanged())); + disconnect(m_nickInfo, TQ_SIGNAL(nickInfoChanged()), this, TQ_SLOT(nickInfoChanged())); m_nickInfo = nickInfo; Q_ASSERT(m_nickInfo); if(!m_nickInfo) return; setName(m_nickInfo->getNickname()); - connect(m_nickInfo, TQT_SIGNAL(nickInfoChanged()), this, TQT_SLOT(nickInfoChanged())); + connect(m_nickInfo, TQ_SIGNAL(nickInfoChanged()), this, TQ_SLOT(nickInfoChanged())); nickInfoChanged(); } |