From 0a80cfd57d271dd44221467efb426675fa470356 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 28 Jun 2011 18:31:12 +0000 Subject: TQt4 port kvirc This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1238719 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/modules/help/helpwindow.h | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src/modules/help/helpwindow.h') diff --git a/src/modules/help/helpwindow.h b/src/modules/help/helpwindow.h index 70f27af6..300116f8 100644 --- a/src/modules/help/helpwindow.h +++ b/src/modules/help/helpwindow.h @@ -25,47 +25,48 @@ #include "kvi_window.h" #include "kvi_string.h" #include "kvi_tal_vbox.h" -#include +#include #include "kvi_tal_listbox.h" -#include -#include +#include +#include class KviHelpWidget; -class QTextBrowser; +class TQTextBrowser; class KviHelpWindow : public KviWindow { Q_OBJECT + TQ_OBJECT public: KviHelpWindow(KviFrame * lpFrm,const char * name); ~KviHelpWindow(); protected: KviHelpWidget * m_pHelpWidget; KviTalVBox * m_pToolBar; - QTabWidget * m_pTabWidget; + TQTabWidget * m_pTabWidget; KviTalVBox * m_pIndexTab; KviTalVBox * m_pSearchTab; KviTalListBox * m_pIndexListBox; - QLineEdit * m_pIndexSearch; - QStringList m_foundDocs; - QStringList m_terms; + TQLineEdit * m_pIndexSearch; + TQStringList m_foundDocs; + TQStringList m_terms; KviTalListBox * m_pResultBox; - QLineEdit * m_pTermsEdit; + TQLineEdit * m_pTermsEdit; public: KviHelpWidget * helpWidget(){ return m_pHelpWidget; }; protected: - virtual QPixmap * myIconPtr(); + virtual TQPixmap * myIconPtr(); virtual void fillCaptionBuffers(); - virtual void resizeEvent(QResizeEvent *e); + virtual void resizeEvent(TQResizeEvent *e); virtual void saveProperties(KviConfig * cfg); virtual void loadProperties(KviConfig * cfg); public: - virtual QSize sizeHint() const; - QTextBrowser * textBrowser(); + virtual TQSize tqsizeHint() const; + TQTextBrowser * textBrowser(); public slots: void indexSelected ( int ); - void searchInIndex( const QString &s ); + void searchInIndex( const TQString &s ); void showIndexTopic(); void startSearch(); void searchSelected ( int index ); -- cgit v1.2.1