Removed obsolete Qt2's TQList/TQListIterator classes and replaced

with TQt3's TQPtrList/TQPtrListIterator ones.

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/5/head
Michele Calgaro 6 years ago
parent fc9e774ff9
commit fe3271f292
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -53,7 +53,7 @@ class KRPie : public TQWidget {
void paintEvent( TQPaintEvent * );
private:
TQList<KRPieSlice> slices;
TQPtrList<KRPieSlice> slices;
TDEIO::filesize_t totalSize, sizeLeft;
static TQColor colors[ 12 ];
};

@ -72,7 +72,7 @@ protected:
TQString tmpDir; // the temp directory tha archive is using
TQString arcFile; // the archive file URL
bool changed; // true if repack changed the archive
TQList<arc_dir> dirList;
TQPtrList<arc_dir> dirList;
TQValueList<extFile> extFiles; // the name, time & size of files unpacked from this archive
void processName(const TQString& name,TQStringList *urls,TDEIO::filesize_t *totalSize,unsigned long *totalFiles );

@ -68,7 +68,7 @@ signals:
protected:
int delay; // time in msec between updates
TQList<krDirEntry> watched;
TQPtrList<krDirEntry> watched;
TQTimer t;
TQDir dir;
TQFileInfo qfi;

Loading…
Cancel
Save