summaryrefslogtreecommitdiffstats
path: root/kghostview/marklist.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kghostview/marklist.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
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
Diffstat (limited to 'kghostview/marklist.h')
-rw-r--r--kghostview/marklist.h12
1 files changed, 7 insertions, 5 deletions
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<int> 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 );