summaryrefslogtreecommitdiffstats
path: root/tderesources/slox
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/slox')
-rw-r--r--tderesources/slox/sloxfolder.h4
-rw-r--r--tderesources/slox/sloxfolderdialog.cpp8
-rw-r--r--tderesources/slox/sloxfolderdialog.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/tderesources/slox/sloxfolder.h b/tderesources/slox/sloxfolder.h
index e722dfd4c..6f6a6c938 100644
--- a/tderesources/slox/sloxfolder.h
+++ b/tderesources/slox/sloxfolder.h
@@ -23,7 +23,7 @@
#include <tqstring.h>
#include <tdepimmacros.h>
-class KListViewItem;
+class TDEListViewItem;
enum FolderType {
Unbound,
@@ -43,7 +43,7 @@ class KDE_EXPORT SloxFolder
TQString name() const;
bool isDefault() const { return mDefault; }
- KListViewItem *item;
+ TDEListViewItem *item;
private:
TQString mId, mParentId;
diff --git a/tderesources/slox/sloxfolderdialog.cpp b/tderesources/slox/sloxfolderdialog.cpp
index 4d21c2307..0d6a756bb 100644
--- a/tderesources/slox/sloxfolderdialog.cpp
+++ b/tderesources/slox/sloxfolderdialog.cpp
@@ -30,7 +30,7 @@ SloxFolderDialog::SloxFolderDialog( SloxFolderManager *manager, FolderType type,
mManager( manager ),
mFolderType( type )
{
- mListView = new KListView( this );
+ mListView = new TDEListView( this );
mListView->setRootIsDecorated( true );
mListView->setShowSortIndicator( true );
mListView->addColumn( i18n("Folder") );
@@ -74,11 +74,11 @@ void SloxFolderDialog::createFolderViewItem( SloxFolder *folder )
SloxFolder *parent = mManager->folders()[folder->parentId()];
createFolderViewItem( parent );
if ( parent->item )
- folder->item = new KListViewItem( parent->item );
+ folder->item = new TDEListViewItem( parent->item );
else
- folder->item = new KListViewItem( mListView );
+ folder->item = new TDEListViewItem( mListView );
} else {
- folder->item = new KListViewItem( mListView );
+ folder->item = new TDEListViewItem( mListView );
}
folder->item->setText( 0, folder->name() );
folder->item->setText( 1, folder->id() );
diff --git a/tderesources/slox/sloxfolderdialog.h b/tderesources/slox/sloxfolderdialog.h
index 69b8126bd..1a0749eaa 100644
--- a/tderesources/slox/sloxfolderdialog.h
+++ b/tderesources/slox/sloxfolderdialog.h
@@ -24,7 +24,7 @@
#include "sloxfolder.h"
-class KListView;
+class TDEListView;
class SloxFolder;
class SloxFolderManager;
@@ -47,7 +47,7 @@ class SloxFolderDialog : public KDialogBase
void createFolderViewItem( SloxFolder *folder );
private:
- KListView *mListView;
+ TDEListView *mListView;
SloxFolderManager *mManager;
TQString mFolderId;
FolderType mFolderType;