summaryrefslogtreecommitdiffstats
path: root/tdeio/tdefile/kdirselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio/tdefile/kdirselectdialog.cpp')
-rw-r--r--tdeio/tdefile/kdirselectdialog.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/tdeio/tdefile/kdirselectdialog.cpp b/tdeio/tdefile/kdirselectdialog.cpp
index cae383742..ab8e64d92 100644
--- a/tdeio/tdefile/kdirselectdialog.cpp
+++ b/tdeio/tdefile/kdirselectdialog.cpp
@@ -99,8 +99,8 @@ KDirSelectDialog::KDirSelectDialog(const TQString &startDir, bool localOnly,
TQHBoxLayout *hlay = new TQHBoxLayout( page, 0, spacingHint() );
m_mainLayout = new TQVBoxLayout();
d->speedBar = new KFileSpeedBar( page, "speedbar" );
- connect( d->speedBar, TQT_SIGNAL( activated( const KURL& )),
- TQT_SLOT( setCurrentURL( const KURL& )) );
+ connect( d->speedBar, TQ_SIGNAL( activated( const KURL& )),
+ TQ_SLOT( setCurrentURL( const KURL& )) );
hlay->addWidget( d->speedBar, 0 );
hlay->addLayout( m_mainLayout, 1 );
@@ -118,15 +118,15 @@ KDirSelectDialog::KDirSelectDialog(const TQString &startDir, bool localOnly,
d->urlCombo->setCompletionObject( comp, true );
d->urlCombo->setAutoDeleteCompletionObject( true );
d->urlCombo->setDuplicatesEnabled( false );
- connect( d->urlCombo, TQT_SIGNAL( textChanged( const TQString& ) ),
- TQT_SLOT( slotComboTextChanged( const TQString& ) ));
+ connect( d->urlCombo, TQ_SIGNAL( textChanged( const TQString& ) ),
+ TQ_SLOT( slotComboTextChanged( const TQString& ) ));
m_contextMenu = new TQPopupMenu( this );
- TDEAction* newFolder = new TDEAction( i18n("New Folder..."), "folder-new", 0, this, TQT_SLOT( slotMkdir() ), this);
+ TDEAction* newFolder = new TDEAction( i18n("New Folder..."), "folder-new", 0, this, TQ_SLOT( slotMkdir() ), this);
newFolder->plug(m_contextMenu);
m_contextMenu->insertSeparator();
m_showHiddenFolders = new TDEToggleAction ( i18n( "Show Hidden Folders" ), 0, this,
- TQT_SLOT( slotShowHiddenFoldersToggled() ), this);
+ TQ_SLOT( slotShowHiddenFoldersToggled() ), this);
m_showHiddenFolders->plug(m_contextMenu);
d->startURL = KFileDialog::getStartURL( startDir, d->recentDirClass );
@@ -151,15 +151,15 @@ KDirSelectDialog::KDirSelectDialog(const TQString &startDir, bool localOnly,
m_mainLayout->addWidget( m_treeView, 1 );
m_mainLayout->addWidget( d->urlCombo, 0 );
- connect( m_treeView, TQT_SIGNAL( currentChanged( TQListViewItem * )),
- TQT_SLOT( slotCurrentChanged() ));
- connect( m_treeView, TQT_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & )),
- TQT_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & )));
+ connect( m_treeView, TQ_SIGNAL( currentChanged( TQListViewItem * )),
+ TQ_SLOT( slotCurrentChanged() ));
+ connect( m_treeView, TQ_SIGNAL( contextMenu( TDEListView *, TQListViewItem *, const TQPoint & )),
+ TQ_SLOT( slotContextMenu( TDEListView *, TQListViewItem *, const TQPoint & )));
- connect( d->urlCombo, TQT_SIGNAL( activated( const TQString& )),
- TQT_SLOT( slotURLActivated( const TQString& )));
- connect( d->urlCombo, TQT_SIGNAL( returnPressed( const TQString& )),
- TQT_SLOT( slotURLActivated( const TQString& )));
+ connect( d->urlCombo, TQ_SIGNAL( activated( const TQString& )),
+ TQ_SLOT( slotURLActivated( const TQString& )));
+ connect( d->urlCombo, TQ_SIGNAL( returnPressed( const TQString& )),
+ TQ_SLOT( slotURLActivated( const TQString& )));
setCurrentURL( d->startURL );
}
@@ -194,10 +194,10 @@ void KDirSelectDialog::setCurrentURL( const KURL& url )
d->branch = createBranch( root );
}
- d->branch->disconnect( TQT_SIGNAL( populateFinished( KFileTreeViewItem * )),
- this, TQT_SLOT( slotNextDirToList( KFileTreeViewItem *)));
- connect( d->branch, TQT_SIGNAL( populateFinished( KFileTreeViewItem * )),
- TQT_SLOT( slotNextDirToList( KFileTreeViewItem * ) ));
+ d->branch->disconnect( TQ_SIGNAL( populateFinished( KFileTreeViewItem * )),
+ this, TQ_SLOT( slotNextDirToList( KFileTreeViewItem *)));
+ connect( d->branch, TQ_SIGNAL( populateFinished( KFileTreeViewItem * )),
+ TQ_SLOT( slotNextDirToList( KFileTreeViewItem * ) ));
KURL dirToList = root;
d->dirsToList.clear();
@@ -260,8 +260,8 @@ void KDirSelectDialog::slotNextDirToList( KFileTreeViewItem *item )
openNextDir( item );
else
{
- d->branch->disconnect( TQT_SIGNAL( populateFinished( KFileTreeViewItem * )),
- this, TQT_SLOT( slotNextDirToList( KFileTreeViewItem *)));
+ d->branch->disconnect( TQ_SIGNAL( populateFinished( KFileTreeViewItem * )),
+ this, TQ_SLOT( slotNextDirToList( KFileTreeViewItem *)));
view()->setCurrentItem( item );
item->setSelected( true );
}