summaryrefslogtreecommitdiffstats
path: root/khexedit/toplevel.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /khexedit/toplevel.h
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-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/toplevel.h')
-rw-r--r--khexedit/toplevel.h50
1 files changed, 25 insertions, 25 deletions
diff --git a/khexedit/toplevel.h b/khexedit/toplevel.h
index fbacca1..4043cd2 100644
--- a/khexedit/toplevel.h
+++ b/khexedit/toplevel.h
@@ -25,7 +25,7 @@
#include <config.h>
#endif
-#include <qptrlist.h>
+#include <tqptrlist.h>
#include <kapplication.h>
#include <kstdaccel.h>
#include <kmainwindow.h>
@@ -135,15 +135,15 @@ class KHexEdit : public KMainWindow
// KAction *favorites;
- QPtrList< KAction > bookmarkList;
- QSignalMapper *bookmarkMapper;
+ TQPtrList< KAction > bookmarkList;
+ TQSignalMapper *bookmarkMapper;
};
public:
KHexEdit( void );
~KHexEdit( void );
- inline void addStartupFile( const QString &fileName );
+ inline void addStartupFile( const TQString &fileName );
inline void setStartupOffset( uint offset );
public slots:
@@ -158,14 +158,14 @@ class KHexEdit : public KMainWindow
void fileState( SFileState &state );
void layoutChanged( const SDisplayLayout &layout );
void inputModeChanged( const SDisplayInputMode &mode );
- void bookmarkChanged( QPtrList<SCursorOffset> &list );
- void removeRecentFile( const QString &fileName );
- void renameRecentFile( const QString &curName, const QString &newName );
-
- void setupCaption( const QString &url );
- void fileActive( const QString &url, bool onDisk );
- void fileRename( const QString &curName, const QString &newName );
- void fileClosed( const QString &url );
+ void bookmarkChanged( TQPtrList<SCursorOffset> &list );
+ void removeRecentFile( const TQString &fileName );
+ void renameRecentFile( const TQString &curName, const TQString &newName );
+
+ void setupCaption( const TQString &url );
+ void fileActive( const TQString &url, bool onDisk );
+ void fileRename( const TQString &curName, const TQString &newName );
+ void fileClosed( const TQString &url );
void readConfiguration( void );
void writeConfiguration( void );
void editMode( CHexBuffer::EEditMode editMode );
@@ -200,21 +200,21 @@ protected:
private:
void setupActions( void );
void setupStatusBar( void );
- void open( QStringList &fileList, QStringList &offsetList );
+ void open( TQStringList &fileList, TQStringList &offsetList );
void initialize( bool openFiles );
- void addRecentFile( const QString &fileName );
+ void addRecentFile( const TQString &fileName );
bool closeAllWindow( void );
void setUndoState( uint undoState );
void setSelectionState( uint selectionOffset, uint selectionSize );
void setSelectionText( uint selectionOffset, uint selectionSize );
- void addDocument( const QString &fileName );
- void removeDocument( const QString &fileName );
- void renameDocument( const QString &curName, const QString &newName );
- void setTickedDocument( const QString &fileName );
+ void addDocument( const TQString &fileName );
+ void removeDocument( const TQString &fileName );
+ void renameDocument( const TQString &curName, const TQString &newName );
+ void setTickedDocument( const TQString &fileName );
void writeConfiguration( KConfig &config );
void readConfiguration( KConfig &config );
- bool eventFilter( QObject *obj, QEvent *event );
+ bool eventFilter( TQObject *obj, TQEvent *event );
int acceleratorNumKey( uint index );
inline CHexEditorWidget *editor( void );
@@ -222,12 +222,12 @@ protected:
inline CHexViewWidget *hexView( void );
private:
- static QPtrList<KHexEdit> mWindowList;
+ static TQPtrList<KHexEdit> mWindowList;
CHexManagerWidget *mManager;
- QStringList mDocumentList;
+ TQStringList mDocumentList;
- QStringList mStartupFileList; ///< Files to automatically open on startup
- QStringList mStartupOffsetList; ///< Start offset for those files.
+ TQStringList mStartupFileList; ///< Files to automatically open on startup
+ TQStringList mStartupOffsetList; ///< Start offset for those files.
uint mStartupOffset; ///< Value read from the command line
SActionList mAction;
@@ -245,10 +245,10 @@ protected:
};
-inline void KHexEdit::addStartupFile( const QString &fileName )
+inline void KHexEdit::addStartupFile( const TQString &fileName )
{
mStartupFileList.prepend( fileName );
- mStartupOffsetList.prepend( QString("%1").arg(mStartupOffset,0,16) );
+ mStartupOffsetList.prepend( TQString("%1").arg(mStartupOffset,0,16) );
mStartupOffset = 0;
}