From e69e8b1d09fb579316595b4e6a850e717358a8b1 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sun, 19 Jun 2011 19:03:33 +0000 Subject: TQt4 port kdegraphics This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kghostview/marklist.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'kghostview/marklist.h') diff --git a/kghostview/marklist.h b/kghostview/marklist.h index 4405f877..1977a18d 100644 --- a/kghostview/marklist.h +++ b/kghostview/marklist.h @@ -24,11 +24,12 @@ class KGVMiniWidget; -class MarkListItem : public QWidget +class MarkListItem : public TQWidget { Q_OBJECT + TQ_OBJECT public: - MarkListItem( TQWidget *parent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget*, int ); + MarkListItem( TQWidget *tqparent, const TQString &text, const TQString &tip, const TQColor &color, KGVMiniWidget*, int ); bool isChecked() const; @@ -51,16 +52,17 @@ private: bool _requested; }; -class MarkList: public QTable +class MarkList: public TQTable { Q_OBJECT + TQ_OBJECT public: - MarkList( TQWidget* parent = 0, const char* name = 0, KGVMiniWidget* = 0 ); + MarkList( TQWidget* tqparent = 0, const char* name = 0, KGVMiniWidget* = 0 ); TQValueList markList() const; void insertItem( const TQString& text, int index = -1, - const TQString& tip = TQString::null ); + const TQString& tip = TQString() ); public slots: void select( int index ); -- cgit v1.2.1