summaryrefslogtreecommitdiffstats
path: root/kcontrol/input
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-21 19:40:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-21 19:40:47 +0000
commit0406f543f8c9f30455199e0f3956da41f126b2fb (patch)
tree8e485703cc71d5d3ababeac16dcbeb72641be400 /kcontrol/input
parent8155225c9be993acc0512956416d195edfef4eb9 (diff)
downloadtdebase-0406f543f8c9f30455199e0f3956da41f126b2fb.tar.gz
tdebase-0406f543f8c9f30455199e0f3956da41f126b2fb.zip
Signal/slot repairs
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1216185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/input')
-rw-r--r--kcontrol/input/xcursor/previewwidget.h2
-rw-r--r--kcontrol/input/xcursor/themepage.cpp12
-rw-r--r--kcontrol/input/xcursor/themepage.h2
3 files changed, 8 insertions, 8 deletions
diff --git a/kcontrol/input/xcursor/previewwidget.h b/kcontrol/input/xcursor/previewwidget.h
index a3db01d88..a6412a907 100644
--- a/kcontrol/input/xcursor/previewwidget.h
+++ b/kcontrol/input/xcursor/previewwidget.h
@@ -24,7 +24,7 @@
class PreviewCursor;
-class PreviewWidget : public QWidget
+class PreviewWidget : public TQWidget
{
public:
PreviewWidget( TQWidget *parent = NULL, const char *name = NULL );
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 );
diff --git a/kcontrol/input/xcursor/themepage.h b/kcontrol/input/xcursor/themepage.h
index a4949a6ac..4197d73d1 100644
--- a/kcontrol/input/xcursor/themepage.h
+++ b/kcontrol/input/xcursor/themepage.h
@@ -32,7 +32,7 @@ class TQPushButton;
struct ThemeInfo;
-class ThemePage : public QWidget
+class ThemePage : public TQWidget
{
Q_OBJECT