summaryrefslogtreecommitdiffstats
path: root/src/kvirc/ui/kvi_ircviewtools.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/kvirc/ui/kvi_ircviewtools.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/kvirc/ui/kvi_ircviewtools.h')
-rw-r--r--src/kvirc/ui/kvi_ircviewtools.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/src/kvirc/ui/kvi_ircviewtools.h b/src/kvirc/ui/kvi_ircviewtools.h
index 248c180d..8cf5781c 100644
--- a/src/kvirc/ui/kvi_ircviewtools.h
+++ b/src/kvirc/ui/kvi_ircviewtools.h
@@ -27,14 +27,14 @@
#include "kvi_settings.h"
#include "kvi_tal_tooltip.h"
-#include <qframe.h>
+#include <tqframe.h>
#include "kvi_tal_listview.h"
-#include <qstring.h>
+#include <tqstring.h>
-class QLabel;
+class TQLabel;
//class KviStyledCheckBox;
#include "kvi_styled_controls.h"
-class QLineEdit;
+class TQLineEdit;
class KviIrcView;
@@ -46,9 +46,9 @@ public:
protected:
KviIrcView * m_pView;
protected:
- virtual void maybeTip(const QPoint &pnt);
+ virtual void maybeTip(const TQPoint &pnt);
public:
- void doTip(const QRect &rct,const QString &str){ tip(rct,str); };
+ void doTip(const TQRect &rct,const TQString &str){ tip(rct,str); };
};
//=========================================================================================================
@@ -76,30 +76,31 @@ public:
class KviIrcView;
-class KviIrcViewToolWidget : public QFrame
+class KviIrcViewToolWidget : public TQFrame
{
friend class KviIrcView;
Q_OBJECT
+ TQ_OBJECT
protected:
KviIrcViewToolWidget(KviIrcView * par);
~KviIrcViewToolWidget();
protected:
KviIrcView * m_pIrcView;
- QLineEdit * m_pStringToFind;
- QPoint m_pressPoint;
+ TQLineEdit * m_pStringToFind;
+ TQPoint m_pressPoint;
KviStyledCheckBox * m_pCaseSensitive;
KviStyledCheckBox * m_pRegExp;
KviStyledCheckBox * m_pExtendedRegExp;
- QLabel * m_pFindResult;
+ TQLabel * m_pFindResult;
KviTalListView * m_pFilterView;
KviIrcMessageCheckListItem ** m_pFilterItems;
public:
- void setFindResult(const QString & text);
+ void setFindResult(const TQString & text);
inline bool messageEnabled(int msg_type){ return m_pFilterItems[msg_type]->isOn(); }
void forceRepaint();
protected slots:
@@ -110,10 +111,10 @@ protected slots:
void filterSave();
void filterLoad();
protected:
- virtual void hideEvent( QHideEvent * );
- virtual void closeEvent( QCloseEvent * e );
- virtual void mouseMoveEvent(QMouseEvent *);
- virtual void mousePressEvent(QMouseEvent *);
+ virtual void hideEvent( TQHideEvent * );
+ virtual void closeEvent( TQCloseEvent * e );
+ virtual void mouseMoveEvent(TQMouseEvent *);
+ virtual void mousePressEvent(TQMouseEvent *);
};
#endif //!_KVI_IRCVIEWTOOLS_H_