summaryrefslogtreecommitdiffstats
path: root/khexedit/hexviewwidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-23 01:42:07 +0000
commita2277b6bc715464e83882b90c2a058139b8a6b54 (patch)
treeab09b14014f59b4d8e2ddd12226aa0b22e4dfc5d /khexedit/hexviewwidget.h
parentd3f79e04b34bd1f70a458b81b28fc8799498c8dc (diff)
downloadtdeutils-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/hexviewwidget.h')
-rw-r--r--khexedit/hexviewwidget.h19
1 files changed, 11 insertions, 8 deletions
diff --git a/khexedit/hexviewwidget.h b/khexedit/hexviewwidget.h
index d0050e8..c467e03 100644
--- a/khexedit/hexviewwidget.h
+++ b/khexedit/hexviewwidget.h
@@ -37,13 +37,14 @@
#include "hexclipboard.h"
#include "hexbuffer.h"
-class CScrollBar : public QScrollBar
+class CScrollBar : public TQScrollBar
{
Q_OBJECT
+ TQ_OBJECT
public:
- CScrollBar( Orientation o, TQWidget *parent, const char *name = 0 )
- : TQScrollBar( o, parent, name )
+ CScrollBar( Qt::Orientation o, TQWidget *tqparent, const char *name = 0 )
+ : TQScrollBar( o, tqparent, name )
{
}
@@ -58,9 +59,10 @@ class CScrollBar : public QScrollBar
};
-class CDragManager : public QWidget
+class CDragManager : public TQWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
enum EDragActivateMode
@@ -95,12 +97,13 @@ class CDragManager : public QWidget
-class CHexViewWidget : public QFrame
+class CHexViewWidget : public TQFrame
{
Q_OBJECT
+ TQ_OBJECT
public:
- CHexViewWidget( TQWidget *parent, const char *name, CHexBuffer *hexBuffer );
+ CHexViewWidget( TQWidget *tqparent, const char *name, CHexBuffer *hexBuffer );
~CHexViewWidget( void );
inline bool widgetValid( void );
@@ -137,7 +140,7 @@ class CHexViewWidget : public QFrame
virtual void setPalette( const TQPalette & );
void setInputMode( SDisplayInputMode &mode );
- void setLayout( SDisplayLayout &layout );
+ void setLayout( SDisplayLayout &tqlayout );
void setCursor( const SDisplayCursor &cursor, bool updateDisplay );
void setColor( const SDisplayColor &color, bool updateDisplay );
void setFont( const SDisplayFontInfo &fontInfo, bool updateDisplay );
@@ -215,7 +218,7 @@ class CHexViewWidget : public QFrame
void cursorChanged( SCursorState &state );
void fileState( SFileState &state );
void dataChanged( void );
- void layoutChanged( const SDisplayLayout &layout );
+ void tqlayoutChanged( const SDisplayLayout &tqlayout );
void inputModeChanged( const SDisplayInputMode &mode );
void bookmarkChanged( TQPtrList<SCursorOffset> &list );
void editMode( CHexBuffer::EEditMode editMode );