summaryrefslogtreecommitdiffstats
path: root/src/modules/help/helpwindow.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-28 18:31:12 +0000
commit0a80cfd57d271dd44221467efb426675fa470356 (patch)
tree6f503a31aa078eaf8fa015cf1749808529d49fc9 /src/modules/help/helpwindow.h
parent3329e5a804e28ef3f5eb51d1e7affdd5a508e8f2 (diff)
downloadkvirc-0a80cfd57d271dd44221467efb426675fa470356.tar.gz
kvirc-0a80cfd57d271dd44221467efb426675fa470356.zip
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
Diffstat (limited to 'src/modules/help/helpwindow.h')
-rw-r--r--src/modules/help/helpwindow.h29
1 files changed, 15 insertions, 14 deletions
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 <qtabwidget.h>
+#include <tqtabwidget.h>
#include "kvi_tal_listbox.h"
-#include <qlineedit.h>
-#include <qprogressdialog.h>
+#include <tqlineedit.h>
+#include <tqprogressdialog.h>
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 );