diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-23 01:42:07 +0000 |
commit | a2277b6bc715464e83882b90c2a058139b8a6b54 (patch) | |
tree | ab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /khexedit/optiondialog.h | |
parent | d3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff) | |
download | tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.tar.gz tdeutils-a2277b6bc715464e83882b90c2a058139b8a6b54.zip |
TQt4 port kdeutils
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1238125 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/optiondialog.h')
-rw-r--r-- | khexedit/optiondialog.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/khexedit/optiondialog.h b/khexedit/optiondialog.h index b53a806..0089155 100644 --- a/khexedit/optiondialog.h +++ b/khexedit/optiondialog.h @@ -27,7 +27,7 @@ class TQFrame; class TQCheckBox; class TQLabel; class TQLineEdit; -class QPushbutton; +class TQPushbutton; class TQRadioButton; class TQSpinBox; class TQComboBox; @@ -43,9 +43,10 @@ class KFontChooser; class CColorListBox : public KListBox { Q_OBJECT + TQ_OBJECT public: - CColorListBox( TQWidget *parent=0, const char * name=0, WFlags f=0 ); + CColorListBox( TQWidget *tqparent=0, const char * name=0, WFlags f=0 ); void setColor( uint index, const TQColor &color ); const TQColor color( uint index ); @@ -69,10 +70,10 @@ class CColorListBox : public KListBox }; -class CColorListItem : public QListBoxItem +class CColorListItem : public TQListBoxItem { public: - CColorListItem( const TQString &text, const TQColor &color=Qt::black ); + CColorListItem( const TQString &text, const TQColor &color=TQt::black ); const TQColor &color( void ); void setColor( const TQColor &color ); @@ -92,6 +93,7 @@ class CColorListItem : public QListBoxItem class COptionDialog : public KDialogBase { Q_OBJECT + TQ_OBJECT public: enum EPage @@ -105,10 +107,10 @@ class COptionDialog : public KDialogBase page_max }; - COptionDialog( TQWidget *parent = 0, char *name = 0, bool modal = false ); + COptionDialog( TQWidget *tqparent = 0, char *name = 0, bool modal = false ); ~COptionDialog( void ); - void setLayout( SDisplayLayout &layout, SDisplayLine &line ); + void setLayout( SDisplayLayout &tqlayout, SDisplayLine &line ); void setCursor( SDisplayCursor &cursor ); void setColor( SDisplayColor &color ); void setFont( SDisplayFont &font ); @@ -236,7 +238,7 @@ class COptionDialog : public KDialogBase signals: void lineSizeChoice( const SDisplayLine &lineSize ); - void layoutChoice( const SDisplayLayout &layout ); + void tqlayoutChoice( const SDisplayLayout &tqlayout ); void cursorChoice( const SDisplayCursor &cursor ); void colorChoice( const SDisplayColor &color ); void fontChoice( const SDisplayFont &font ); |