summaryrefslogtreecommitdiffstats
path: root/kresources/slox/sloxfolderdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kresources/slox/sloxfolderdialog.cpp')
-rw-r--r--kresources/slox/sloxfolderdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kresources/slox/sloxfolderdialog.cpp b/kresources/slox/sloxfolderdialog.cpp
index dc3c59dc2..acf871b2f 100644
--- a/kresources/slox/sloxfolderdialog.cpp
+++ b/kresources/slox/sloxfolderdialog.cpp
@@ -25,8 +25,8 @@
#include "sloxfolderdialog.h"
#include "sloxfoldermanager.h"
-SloxFolderDialog::SloxFolderDialog( SloxFolderManager *manager, FolderType type, TQWidget *parent, const char *name ) :
- KDialogBase( parent, name, true, i18n("Select Folder"), Ok|Cancel|User1, Ok, false, KGuiItem( i18n("Reload"), "reload" ) ),
+SloxFolderDialog::SloxFolderDialog( SloxFolderManager *manager, FolderType type, TQWidget *tqparent, const char *name ) :
+ KDialogBase( tqparent, name, true, i18n("Select Folder"), Ok|Cancel|User1, Ok, false, KGuiItem( i18n("Reload"), "reload" ) ),
mManager( manager ),
mFolderType( type )
{
@@ -70,11 +70,11 @@ void SloxFolderDialog::createFolderViewItem( SloxFolder *folder )
return;
if ( folder->type() != mFolderType && folder->type() != Unbound )
return;
- if( mManager->folders().tqcontains( folder->parentId() ) ) {
- SloxFolder *parent = mManager->folders()[folder->parentId()];
- createFolderViewItem( parent );
- if ( parent->item )
- folder->item = new KListViewItem( parent->item );
+ if( mManager->folders().tqcontains( folder->tqparentId() ) ) {
+ SloxFolder *tqparent = mManager->folders()[folder->tqparentId()];
+ createFolderViewItem( tqparent );
+ if ( tqparent->item )
+ folder->item = new KListViewItem( tqparent->item );
else
folder->item = new KListViewItem( mListView );
} else {