From a2277b6bc715464e83882b90c2a058139b8a6b54 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 23 Jun 2011 01:42:07 +0000 Subject: 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 --- khexedit/hexeditorwidget.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'khexedit/hexeditorwidget.h') diff --git a/khexedit/hexeditorwidget.h b/khexedit/hexeditorwidget.h index 04701f6..d14bfd1 100644 --- a/khexedit/hexeditorwidget.h +++ b/khexedit/hexeditorwidget.h @@ -51,9 +51,10 @@ class CReplacePromptDialog; namespace KIO { class Job; } -class CHexEditorWidget : public QWidget +class CHexEditorWidget : public TQWidget { Q_OBJECT + TQ_OBJECT public: enum EProgressMode @@ -70,7 +71,7 @@ class CHexEditorWidget : public QWidget }; public: - CHexEditorWidget( TQWidget *parent = 0, const char *name = 0 ); + CHexEditorWidget( TQWidget *tqparent = 0, const char *name = 0 ); ~CHexEditorWidget( void ); void initialize( void ); @@ -82,7 +83,7 @@ class CHexEditorWidget : public QWidget inline int defaultTextWidth( void ); inline CHexViewWidget *view( void ); - inline SDisplayLayout &layout( void ); + inline SDisplayLayout &tqlayout( void ); inline SDisplayLine &line( void ); inline SDisplayInputMode &inputMode( void ); inline SDisplayMisc::EOpenFile openFile( void ); @@ -149,12 +150,12 @@ class CHexEditorWidget : public QWidget void gotoNextBookmark( void ); void gotoPrevBookmark( void ); void gotoOffset( void ); - void find( void ); + void tqfind( void ); void findAgain( void ); void findNext( void ); void findPrevious( void ); void findData( SSearchControl &sc, uint mode, bool navigator ); - void replace( void ); + void tqreplace( void ); void insertPattern( void ); void encoding( void ); void strings( void ); @@ -169,10 +170,10 @@ class CHexEditorWidget : public QWidget protected slots: void fontChanged( void ); void paletteChanged( void ); - void layoutChanged( const SDisplayLayout &layout ); + void tqlayoutChanged( const SDisplayLayout &tqlayout ); void inputModeChanged( const SDisplayInputMode &input ); void setLineSize(const SDisplayLine &line ); - void setLayout( const SDisplayLayout &layout ); + void setLayout( const SDisplayLayout &tqlayout ); void setCursor( const SDisplayCursor &cursor ); void setColor( const SDisplayColor &color ); void setFont( const SDisplayFont &font ); @@ -258,9 +259,9 @@ inline CHexViewWidget *CHexEditorWidget::view( void ) return( mHexView ); } -inline SDisplayLayout &CHexEditorWidget::layout( void ) +inline SDisplayLayout &CHexEditorWidget::tqlayout( void ) { - return( mDisplayState.layout ); + return( mDisplayState.tqlayout ); } inline SDisplayLine &CHexEditorWidget::line( void ) -- cgit v1.2.1