diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kdat/Archive.h | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/Archive.h')
-rw-r--r-- | kdat/Archive.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kdat/Archive.h b/kdat/Archive.h index b64ae36..9f42684 100644 --- a/kdat/Archive.h +++ b/kdat/Archive.h @@ -21,8 +21,8 @@ #include <stdio.h> -#include <qptrlist.h> -#include <qstring.h> +#include <tqptrlist.h> +#include <tqstring.h> #include "File.h" @@ -38,8 +38,8 @@ class Archive { int _ctime; FILE* _fptr; int _offset; - QString _name; - QPtrList<File> _children; + TQString _name; + TQPtrList<File> _children; RangeList _ranges; Tape* _tape; public: @@ -50,7 +50,7 @@ public: * @param ctime The create time of the archive. * @param name The name given to this archive by the user. */ - Archive( Tape* tape, int ctime, const QString & name ); + Archive( Tape* tape, int ctime, const TQString & name ); /** * Create a new stubbed instance of an archive. The file pointer and @@ -113,7 +113,7 @@ public: * * @return The name of this archive. */ - QString getName(); + TQString getName(); /** * Get the tape that contains this archive. @@ -127,14 +127,14 @@ public: * * @return A list of the immediate children of this archive. */ - const QPtrList<File>& getChildren(); + const TQPtrList<File>& getChildren(); /** * Get the list of ranges of this file and all of its children. * * @return A list of ranges. */ - const QPtrList<Range>& getRanges(); + const TQPtrList<Range>& getRanges(); /** * Set the ending tape block for this archive. @@ -148,7 +148,7 @@ public: * * @param name The new archive name. */ - void setName( const QString & name ); + void setName( const TQString & name ); /** * Add a new top level file as a child of this archive. @@ -173,7 +173,7 @@ public: * * @return A pointer to the newly created file entry. */ - File* addFile( int size, int mtime, int startRecord, int endRecord, const QString & filename ); + File* addFile( int size, int mtime, int startRecord, int endRecord, const TQString & filename ); /** * Recursively calculate the list of ranges for all of the archive's children. |