From 0406f543f8c9f30455199e0f3956da41f126b2fb Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 21 Jan 2011 19:40:47 +0000 Subject: Signal/slot repairs git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/input/xcursor/themepage.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcontrol/input/xcursor/themepage.cpp') diff --git a/kcontrol/input/xcursor/themepage.cpp b/kcontrol/input/xcursor/themepage.cpp index 27438a4d2..2a0255857 100644 --- a/kcontrol/input/xcursor/themepage.cpp +++ b/kcontrol/input/xcursor/themepage.cpp @@ -170,9 +170,9 @@ void ThemePage::load( bool useDefaults ) currentTheme = "system"; // Find the theme in the listview and select it - TQListViewItem *item = listview->findItem( currentTheme, DirColumn ); + TQListViewItem *item = listview->tqfindItem( currentTheme, DirColumn ); if( !item ) - item = listview->findItem( "system", DirColumn ); + item = listview->tqfindItem( "system", DirColumn ); selectedTheme = item->text( DirColumn ); listview->setSelected( item, true ); listview->ensureItemVisible( item ); @@ -260,7 +260,7 @@ void ThemePage::removeClicked() KIO::del( u ); // Remove the theme from the listview and from the themeinfo dict - delete listview->findItem( selectedTheme, DirColumn ); + delete listview->tqfindItem( selectedTheme, DirColumn ); themeInfo.remove( selectedTheme ); listview->setSelected( listview->currentItem(), true ); @@ -371,7 +371,7 @@ void ThemePage::insertTheme( const TQString &path ) info->writable = true; // If an item with the same name already exists, remove it - delete listview->findItem( dirName, DirColumn ); + delete listview->tqfindItem( dirName, DirColumn ); // Create the listview item and insert it into the list. KListViewItem *item = new KListViewItem( listview, name, desc, /*hidden*/ dirName ); @@ -471,7 +471,7 @@ void ThemePage::insertThemes() // in the list. Xcursor will use the first theme it finds in that // case, and since we use the same search order that should also be // the theme we end up adding to the list. - if ( listview->findItem( *it, DirColumn ) ) + if ( listview->tqfindItem( *it, DirColumn ) ) continue; const TQString path = dir.path() + '/' + *it; @@ -621,7 +621,7 @@ TQPixmap ThemePage::createIcon( const TQString &theme, const TQString &sample ) // Scale down the image if we need to if ( image.width() > iconSize || image.height() > iconSize ) - image = image.smoothScale( iconSize, iconSize, TQImage::ScaleMin ); + image = image.smoothScale( iconSize, iconSize, TQ_ScaleMin ); pix.convertFromImage( image ); XcursorImageDestroy( xcur ); -- cgit v1.2.3