summaryrefslogtreecommitdiffstats
path: root/klipper
diff options
context:
space:
mode:
Diffstat (limited to 'klipper')
-rw-r--r--klipper/configdialog.cpp2
-rw-r--r--klipper/klipperbindings.cpp2
-rw-r--r--klipper/toplevel.cpp8
3 files changed, 6 insertions, 6 deletions
diff --git a/klipper/configdialog.cpp b/klipper/configdialog.cpp
index 25c095c2a..c44e11afe 100644
--- a/klipper/configdialog.cpp
+++ b/klipper/configdialog.cpp
@@ -201,7 +201,7 @@ void ListView::rename( TQListViewItem* item, int c )
if ( gui ) {
if ( ! _regExpEditor )
- _regExpEditor = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), TQT_TQOBJECT(this) );
+ _regExpEditor = KParts::ComponentFactory::createInstanceFromQuery<TQDialog>( "KRegExpEditor/KRegExpEditor", TQString(), this );
KRegExpEditorInterface *iface = static_cast<KRegExpEditorInterface *>( _regExpEditor->tqt_cast( "KRegExpEditorInterface" ) );
assert( iface );
iface->setRegExp( item->text( 0 ) );
diff --git a/klipper/klipperbindings.cpp b/klipper/klipperbindings.cpp
index 16b0c24f2..dd14ad3c4 100644
--- a/klipper/klipperbindings.cpp
+++ b/klipper/klipperbindings.cpp
@@ -18,7 +18,7 @@
*/
#ifndef NOSLOTS
# define DEF( name, key3, key4, fnSlot ) \
- keys->insert( name, i18n(name), TQString(), key3, key4, TQT_TQOBJECT(this), TQT_SLOT(fnSlot) )
+ keys->insert( name, i18n(name), TQString(), key3, key4, this, TQT_SLOT(fnSlot) )
#else
# define DEF( name, key3, key4, fnSlot ) \
keys->insert( name, i18n(name), TQString(), key3, key4 )
diff --git a/klipper/toplevel.cpp b/klipper/toplevel.cpp
index d90846dfc..c764b0003 100644
--- a/klipper/toplevel.cpp
+++ b/klipper/toplevel.cpp
@@ -156,7 +156,7 @@ KlipperWidget::KlipperWidget( TQWidget *parent, TDEConfig* config )
clearHistoryAction = new TDEAction( i18n("C&lear Clipboard History"),
"history_clear",
0,
- TQT_TQOBJECT(history()),
+ history(),
TQT_SLOT( slotClear() ),
collection,
"clearHistoryAction" );
@@ -165,7 +165,7 @@ KlipperWidget::KlipperWidget( TQWidget *parent, TDEConfig* config )
configureAction = new TDEAction( i18n("&Configure Klipper..."),
"configure",
0,
- TQT_TQOBJECT(this),
+ this,
TQT_SLOT( slotConfigure() ),
collection,
"configureAction" );
@@ -173,7 +173,7 @@ KlipperWidget::KlipperWidget( TQWidget *parent, TDEConfig* config )
quitAction = new TDEAction( i18n("&Quit"),
"system-log-out",
0,
- TQT_TQOBJECT(this),
+ this,
TQT_SLOT( slotQuit() ),
collection,
"quitAction" );
@@ -203,7 +203,7 @@ KlipperWidget::KlipperWidget( TQWidget *parent, TDEConfig* config )
m_iconOrigHeight = m_pixmap.height();
adjustSize();
- globalKeys = new TDEGlobalAccel(TQT_TQOBJECT(this));
+ globalKeys = new TDEGlobalAccel(this);
TDEGlobalAccel* keys = globalKeys;
#include "klipperbindings.cpp"
// the keys need to be read from kdeglobals, not kickerrc --ellis, 22/9/02