diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-22 18:45:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-26 21:27:31 +0900 |
commit | 0e5ef873f0394ebc87c08d030130cf4089cb1d42 (patch) | |
tree | 39b0a54ef4dfc173c556d6e6c7ece5107aed464a /klipper | |
parent | dcda00127ea03e99ca6253422624e2d3c2e62f3a (diff) | |
download | tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.tar.gz tdebase-0e5ef873f0394ebc87c08d030130cf4089cb1d42.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit c4a6487c827add9382001ff1892b8fb3bfa94682)
Diffstat (limited to 'klipper')
-rw-r--r-- | klipper/configdialog.cpp | 2 | ||||
-rw-r--r-- | klipper/klipperbindings.cpp | 2 | ||||
-rw-r--r-- | klipper/toplevel.cpp | 8 |
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 |