diff options
Diffstat (limited to 'quanta/treeviews/uploadtreefile.cpp')
-rw-r--r-- | quanta/treeviews/uploadtreefile.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/quanta/treeviews/uploadtreefile.cpp b/quanta/treeviews/uploadtreefile.cpp index 2df61f3f..9c055424 100644 --- a/quanta/treeviews/uploadtreefile.cpp +++ b/quanta/treeviews/uploadtreefile.cpp @@ -14,9 +14,9 @@ ***************************************************************************/ // QT includes -#include <qdir.h> -#include <qpixmap.h> -#include <qfileinfo.h> +#include <tqdir.h> +#include <tqpixmap.h> +#include <tqfileinfo.h> // KDE includes #include <kfileitem.h> @@ -28,7 +28,7 @@ #include "resource.h" UploadTreeFile::UploadTreeFile( UploadTreeFolder *parent, const KURL &a_url, const KFileItem &a_fileItem) - : KListViewItem( parent, a_url.fileName(), "", QString("%1").arg( (long int)a_fileItem.size() ), a_fileItem.timeString()) + : KListViewItem( parent, a_url.fileName(), "", TQString("%1").arg( (long int)a_fileItem.size() ), a_fileItem.timeString()) { m_url = a_url; isDir = false; @@ -40,8 +40,8 @@ UploadTreeFile::UploadTreeFile( UploadTreeFolder *parent, const KURL &a_url, con setText(0, m_url.fileName()); } -UploadTreeFile::UploadTreeFile( QListView *parent, const KURL &a_url, const KFileItem &a_fileItem) - : KListViewItem( parent, a_url.fileName(), "", QString("%1").arg( (long int)a_fileItem.size() ), a_fileItem.timeString()) +UploadTreeFile::UploadTreeFile( TQListView *parent, const KURL &a_url, const KFileItem &a_fileItem) + : KListViewItem( parent, a_url.fileName(), "", TQString("%1").arg( (long int)a_fileItem.size() ), a_fileItem.timeString()) { m_url = a_url; isDir = false; @@ -69,15 +69,15 @@ int UploadTreeFile::permissions() } /** used for sorting */ -QString UploadTreeFile::key ( int, bool ) const +TQString UploadTreeFile::key ( int, bool ) const { - static QString key; - key = QString( "1" + text(0) ); + static TQString key; + key = TQString( "1" + text(0) ); return key; -// return QFileInfo(key).extension()+key; +// return TQFileInfo(key).extension()+key; } -void UploadTreeFile::setWhichPixmap(const QString& pixmap ) +void UploadTreeFile::setWhichPixmap(const TQString& pixmap ) { setPixmap( 1, SmallIcon(pixmap) ); } |