diff options
Diffstat (limited to 'quanta/treeviews/uploadtreefolder.cpp')
-rw-r--r-- | quanta/treeviews/uploadtreefolder.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/quanta/treeviews/uploadtreefolder.cpp b/quanta/treeviews/uploadtreefolder.cpp index f38e648c..123eaf35 100644 --- a/quanta/treeviews/uploadtreefolder.cpp +++ b/quanta/treeviews/uploadtreefolder.cpp @@ -14,10 +14,10 @@ ***************************************************************************/ // QT includes -#include <qdir.h> -#include <qdragobject.h> -#include <qevent.h> -#include <qpixmap.h> +#include <tqdir.h> +#include <tqdragobject.h> +#include <tqevent.h> +#include <tqpixmap.h> // KDE includes #include <kiconloader.h> @@ -40,7 +40,7 @@ UploadTreeFolder::UploadTreeFolder(const KURL &a_url, UploadTreeFolder * parent, } -UploadTreeFolder::UploadTreeFolder(const KURL &a_url, QListView * parent, const char * name ) +UploadTreeFolder::UploadTreeFolder(const KURL &a_url, TQListView * parent, const char * name ) : KListViewItem( parent, name, "", "", "" ) { parentFolder = 0L; @@ -55,14 +55,14 @@ UploadTreeFolder::UploadTreeFolder(const KURL &a_url, QListView * parent, const void UploadTreeFolder::setOpen( bool open ) { - QListViewItem::setOpen( open ); + TQListViewItem::setOpen( open ); } /** retun full name of the folder */ //TODO: This should go away. Use url() instead. -QString UploadTreeFolder::fullName() +TQString UploadTreeFolder::fullName() { - QString s=""; + TQString s=""; if ( parentFolder ) { @@ -80,7 +80,7 @@ QString UploadTreeFolder::fullName() void UploadTreeFolder::setup() { setExpandable( true ); - QListViewItem::setup(); + TQListViewItem::setup(); } /** reload file list */ @@ -88,7 +88,7 @@ void UploadTreeFolder::reloadList() { setOpen( false ); - QListViewItem *child; + TQListViewItem *child; while ( (child = firstChild()) ) removeItem( child ); @@ -96,11 +96,11 @@ void UploadTreeFolder::reloadList() } /** need for sorting */ -QString UploadTreeFolder::key ( int, bool ) const +TQString UploadTreeFolder::key ( int, bool ) const { - static QString key; + static TQString key; - key = QString("0") + text(0); + key = TQString("0") + text(0); return key; } @@ -109,7 +109,7 @@ UploadTreeFolder::~UploadTreeFolder() { } -void UploadTreeFolder::setWhichPixmap(const QString& pixmap ) +void UploadTreeFolder::setWhichPixmap(const TQString& pixmap ) { setPixmap( 1, SmallIcon(pixmap) ); } |