diff options
Diffstat (limited to 'src/modules/socketspy/socketspywindow.cpp')
-rw-r--r-- | src/modules/socketspy/socketspywindow.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/socketspy/socketspywindow.cpp b/src/modules/socketspy/socketspywindow.cpp index 4d59b5aa..6ab0154b 100644 --- a/src/modules/socketspy/socketspywindow.cpp +++ b/src/modules/socketspy/socketspywindow.cpp @@ -28,7 +28,7 @@ #include "kvi_locale.h" #include "kvi_console.h" -#include <qsplitter.h> +#include <tqsplitter.h> //#include "kvi_module.h" extern KviPointerList<KviSocketSpyWindow> * g_pSocketSpyWindowList; @@ -38,9 +38,9 @@ KviSocketSpyWindow::KviSocketSpyWindow(KviFrame * lpFrm,KviConsole * lpConsole) { g_pSocketSpyWindowList->append(this); #ifdef COMPILE_USE_QT4 - m_pSplitter = new QSplitter(Qt::Horizontal,this,"splitter"); + m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter"); #else - m_pSplitter = new QSplitter(QSplitter::Horizontal,this,"splitter"); + m_pSplitter = new TQSplitter(Qt::Horizontal,this,"splitter"); #endif m_pIrcView = new KviIrcView(m_pSplitter,lpFrm,this); // Ensure proper focusing @@ -57,19 +57,19 @@ void KviSocketSpyWindow::die() close(); } -QPixmap * KviSocketSpyWindow::myIconPtr() +TQPixmap * KviSocketSpyWindow::myIconPtr() { return g_pIconManager->getSmallIcon(KVI_SMALLICON_SPY); } -void KviSocketSpyWindow::resizeEvent(QResizeEvent *e) +void KviSocketSpyWindow::resizeEvent(TQResizeEvent *e) { m_pSplitter->setGeometry(0,0,width(),height()); } -QSize KviSocketSpyWindow::sizeHint() const +TQSize KviSocketSpyWindow::tqsizeHint() const { - return m_pIrcView->sizeHint(); + return m_pIrcView->tqsizeHint(); } void KviSocketSpyWindow::getBaseLogFileName(KviStr &buffer) @@ -79,20 +79,20 @@ void KviSocketSpyWindow::getBaseLogFileName(KviStr &buffer) void KviSocketSpyWindow::fillCaptionBuffers() { - KviQString::sprintf(m_szPlainTextCaption,__tr2qs("Socket Spy [IRC Context %u]"),m_pConsole->ircContextId()); + KviTQString::sprintf(m_szPlainTextCaption,__tr2qs("Socket Spy [IRC Context %u]"),m_pConsole->ircContextId()); - KviQString::sprintf(m_szHtmlActiveCaption, + KviTQString::sprintf(m_szHtmlActiveCaption, __tr2qs("<nobr><font color=\"%s\"><b>Socket Spy</b></font> " \ "<font color=\"%s\">[IRC Context %u]</font></nobr>"), - KVI_OPTION_COLOR(KviOption_colorCaptionTextActive).name().ascii(), - KVI_OPTION_COLOR(KviOption_colorCaptionTextActive2).name().ascii(), + TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextActive).name()).ascii(), + TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextActive2).name()).ascii(), m_pConsole->ircContextId()); - KviQString::sprintf(m_szHtmlInactiveCaption, + KviTQString::sprintf(m_szHtmlInactiveCaption, __tr2qs("<nobr><font color=\"%s\"><b>Socket Spy</b></font> " \ "<font color=\"%s\">[IRC Context %u]</font></nobr>"), - KVI_OPTION_COLOR(KviOption_colorCaptionTextInactive).name().ascii(), - KVI_OPTION_COLOR(KviOption_colorCaptionTextInactive2).name().ascii(), + TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextInactive).name()).ascii(), + TQString(KVI_OPTION_COLOR(KviOption_colorCaptionTextInactive2).name()).ascii(), m_pConsole->ircContextId()); } |