summaryrefslogtreecommitdiffstats
path: root/kio/kfile/kdirselectdialog.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kio/kfile/kdirselectdialog.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kio/kfile/kdirselectdialog.cpp')
-rw-r--r--kio/kfile/kdirselectdialog.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kio/kfile/kdirselectdialog.cpp b/kio/kfile/kdirselectdialog.cpp
index 2df357575..a361a8bde 100644
--- a/kio/kfile/kdirselectdialog.cpp
+++ b/kio/kfile/kdirselectdialog.cpp
@@ -211,7 +211,7 @@ void KDirSelectDialog::setCurrentURL( const KURL& url )
{
while ( pos > 0 )
{
- pos = path.tqfindRev( '/', pos -1 );
+ pos = path.findRev( '/', pos -1 );
if ( pos >= 0 )
{
dirToList.setPath( path.left( pos +1 ) );
@@ -232,7 +232,7 @@ void KDirSelectDialog::openNextDir( KFileTreeViewItem * /*parent*/ )
KURL url = d->dirsToList.pop();
- KFileTreeViewItem *item = view()->tqfindItem( d->branch, url.path().mid(1));
+ KFileTreeViewItem *item = view()->findItem( d->branch, url.path().mid(1));
if ( item )
{
if ( !item->isOpen() )
@@ -248,7 +248,7 @@ void KDirSelectDialog::slotNextDirToList( KFileTreeViewItem *item )
{
// scroll to make item the topmost item
view()->ensureItemVisible( item );
- TQRect r = view()->tqitemRect( item );
+ TQRect r = view()->itemRect( item );
if ( r.isValid() )
{
int x, y;
@@ -376,7 +376,7 @@ void KDirSelectDialog::slotComboTextChanged( const TQString& text )
if ( d->branch )
{
KURL url = KURL::fromPathOrURL( KShell::tildeExpand( text ) );
- KFileTreeViewItem *item = d->branch->tqfindTVIByURL( url );
+ KFileTreeViewItem *item = d->branch->findTVIByURL( url );
if ( item )
{
view()->setCurrentItem( item );
@@ -390,8 +390,8 @@ void KDirSelectDialog::slotComboTextChanged( const TQString& text )
if ( item )
{
item->setSelected( false );
- // 2002/12/27, deselected item is not tqrepainted, so force it
- item->tqrepaint();
+ // 2002/12/27, deselected item is not repainted, so force it
+ item->repaint();
}
}
@@ -426,7 +426,7 @@ void KDirSelectDialog::slotMkdir()
{
folderurl.addPath( *it );
exists = KIO::NetAccess::exists( folderurl, false, 0 );
- writeOk = !exists && KIO::NetAccess::mkdir( folderurl, tqtopLevelWidget() );
+ writeOk = !exists && KIO::NetAccess::mkdir( folderurl, topLevelWidget() );
}
if ( exists ) // url was already existant