diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/hexmanagerwidget.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'khexedit/hexmanagerwidget.h')
-rw-r--r-- | khexedit/hexmanagerwidget.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/khexedit/hexmanagerwidget.h b/khexedit/hexmanagerwidget.h index 08924da..2d90233 100644 --- a/khexedit/hexmanagerwidget.h +++ b/khexedit/hexmanagerwidget.h @@ -25,9 +25,9 @@ #include <config.h> #endif -#include <qtabbar.h> -#include <qvaluelist.h> -#include <qwidget.h> +#include <tqtabbar.h> +#include <tqvaluelist.h> +#include <tqwidget.h> #include "hexeditorwidget.h" #include "hextoolwidget.h" @@ -38,7 +38,7 @@ class CSearchBar; class CFileKey { public: - CFileKey( const QString &fname, int fid ) + CFileKey( const TQString &fname, int fid ) { mFilename = fname; mId = fid; @@ -54,7 +54,7 @@ class CFileKey { } - QString filename( void ) const + TQString filename( void ) const { return( mFilename ); } @@ -65,7 +65,7 @@ class CFileKey } private: - QString mFilename; + TQString mFilename; int mId; }; @@ -77,23 +77,23 @@ class CTabBar : public QTabBar Q_OBJECT public: - CTabBar( QWidget *parent=0, char *name=0 ); - void addName( const QString &name ); - void removeName( const QString &name ); - void changeName( const QString &curName, const QString &newName ); + CTabBar( TQWidget *parent=0, char *name=0 ); + void addName( const TQString &name ); + void removeName( const TQString &name ); + void changeName( const TQString &curName, const TQString &newName ); int count( void ); protected slots: void slotSelected( int id ); private: - QTab *find( const QString &name ); + TQTab *find( const TQString &name ); private: - QValueList<CFileKey> mFileList; + TQValueList<CFileKey> mFileList; signals: - void selected( const QString &filename ); + void selected( const TQString &filename ); }; @@ -117,7 +117,7 @@ class CHexManagerWidget : public QWidget }; public: - CHexManagerWidget( QWidget *parent = 0, const char *name = 0, + CHexManagerWidget( TQWidget *parent = 0, const char *name = 0, EConversionPosition state = Embed, EPosition tabBarPosition = HideItem, EPosition searchBarPosition = HideItem ); @@ -136,12 +136,12 @@ class CHexManagerWidget : public QWidget void setConversionVisibility( EConversionPosition position ); void setTabBarPosition( EPosition position ); void setSearchBarPosition( EPosition position ); - void addName( const QString &name ); - void removeName( const QString &name ); - void changeName( const QString &curName, const QString &newName ); + void addName( const TQString &name ); + void removeName( const TQString &name ); + void changeName( const TQString &curName, const TQString &newName ); protected slots: - void open( const QString &name ); + void open( const TQString &name ); void searchBarHidden( void ); private: |