diff options
Diffstat (limited to 'src/kvirc/ui/kvi_taskbar.h')
-rw-r--r-- | src/kvirc/ui/kvi_taskbar.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/kvirc/ui/kvi_taskbar.h b/src/kvirc/ui/kvi_taskbar.h index 2707e8b4..65041ea4 100644 --- a/src/kvirc/ui/kvi_taskbar.h +++ b/src/kvirc/ui/kvi_taskbar.h @@ -74,39 +74,11 @@ public: // This is the basic interface that all the external classes should see // -// Please note that TQt3 moc skips the *_SKIP_BEGIN -> *_SKIP_END blocks -// while the TQt4 moc skips the Q_MOC_RUN ifdef block.. so... - -// TQt4 version - -// If you get failures (undefined references) in some non-autotools based -// build system that uses TQt4 then you must add the -DCOMPILE_USE_QT4 -// commandline parameter to moc (at leat) when parsing this file. - -// MOC_SKIP_BEGIN -#ifdef COMPILE_USE_QT4 - -#include <TQDockWidget> - -class KVIRC_API KviTaskBarBase : public TQDockWidget -{ - TQ_OBJECT - -#endif //COMPILE_USE_QT4 -// MOC_SKIP_END - -// TQt3 version -#ifndef Q_MOC_RUN -#ifndef COMPILE_USE_QT4 - #include "kvi_toolbar.h" class KVIRC_API KviTaskBarBase : public KviToolBar { TQ_OBJECT - -#endif -#endif public: KviTaskBarBase(); @@ -155,9 +127,6 @@ protected: virtual void mousePressEvent(TQMouseEvent *e); virtual void contextMenuEvent(TQContextMenuEvent *e); virtual void drawButtonLabel(TQPainter *p); -#ifdef COMPILE_USE_QT4 - virtual void paintEvent(TQPaintEvent * e); -#endif public: virtual bool active(){ return m_bActive; }; virtual void highlight(int iLevel = 1); @@ -227,11 +196,7 @@ protected: public: virtual TQString key(int column,bool) const; virtual void paintCell(TQPainter *p,const TQColorGroup &cg,int column,int width,int alignment); -#ifdef COMPILE_USE_QT4 - virtual void paintBranches(TQPainter *p,const TQColorGroup &cg,int w,int y,int h); -#else virtual void paintBranches(TQPainter *p,const TQColorGroup &cg,int w,int y,int h,GUIStyle s); -#endif virtual void captionChanged(); virtual void highlight(int iLevel = 1); virtual void unhighlight(); |