diff options
author | Michele Calgaro <[email protected]> | 2023-12-22 18:45:07 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-12-26 21:26:32 +0900 |
commit | c4a6487c827add9382001ff1892b8fb3bfa94682 (patch) | |
tree | ec6c8a691a15099df946531b66355a76ca02b2db /kdcop/kdcopwindow.cpp | |
parent | 7c724a49212a9ffdf42381d99648f15457867787 (diff) | |
download | tdebase-c4a6487c827add9382001ff1892b8fb3bfa94682.tar.gz tdebase-c4a6487c827add9382001ff1892b8fb3bfa94682.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kdcop/kdcopwindow.cpp')
-rw-r--r-- | kdcop/kdcopwindow.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/kdcop/kdcopwindow.cpp b/kdcop/kdcopwindow.cpp index 059fa2125..f95bb2ff2 100644 --- a/kdcop/kdcopwindow.cpp +++ b/kdcop/kdcopwindow.cpp @@ -71,7 +71,7 @@ public: new TQLabel(caption + ": ", l); KLineEdit* e = new KLineEdit( l ); m_widgets.insert(key, e ) ; - e->setValidator( new TQIntValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQIntValidator( e ) ); } int field(int key) { @@ -303,12 +303,12 @@ KDCOPWindow::KDCOPWindow(TQWidget *parent, const char * name) TQT_SLOT(slotResultListContextMenu(TQListBoxItem*, const TQPoint&))); // set up the actions - KStdAction::quit( TQT_TQOBJECT(this), TQT_SLOT( close() ), actionCollection() ); - KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT( slotCopy()), actionCollection() ); + KStdAction::quit( this, TQT_SLOT( close() ), actionCollection() ); + KStdAction::copy( this, TQT_SLOT( slotCopy()), actionCollection() ); KStdAction::keyBindings( guiFactory(), TQT_SLOT( configureShortcuts() ), actionCollection() ); - (void) new TDEAction( i18n( "&Reload" ), "reload", TDEStdAccel::shortcut(TDEStdAccel::Reload), TQT_TQOBJECT(this), TQT_SLOT( slotReload() ), actionCollection(), "reload" ); + (void) new TDEAction( i18n( "&Reload" ), "reload", TDEStdAccel::shortcut(TDEStdAccel::Reload), this, TQT_SLOT( slotReload() ), actionCollection(), "reload" ); exeaction = new TDEAction @@ -316,7 +316,7 @@ KDCOPWindow::KDCOPWindow(TQWidget *parent, const char * name) i18n("&Execute"), "application-x-executable", CTRL + Key_E, - TQT_TQOBJECT(this), + this, TQT_SLOT(slotItemExecuted()), actionCollection(), "execute" @@ -327,7 +327,7 @@ KDCOPWindow::KDCOPWindow(TQWidget *parent, const char * name) langmode = new TDESelectAction ( i18n("Language Mode"), CTRL + Key_M, - TQT_TQOBJECT(this), + this, TQT_SLOT(slotMode()), actionCollection(), "langmode"); @@ -458,7 +458,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQIntValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQIntValidator( e ) ); } else if ( type == "unsigned" || type == "uint" || type == "unsigned int" || type == "TQ_UINT32" ) @@ -471,7 +471,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) grid->addWidget( e, i, 2 ); wl.append( e ); - TQIntValidator* iv = new TQIntValidator( TQT_TQOBJECT(e) ); + TQIntValidator* iv = new TQIntValidator( e ); iv->setBottom( 0 ); e->setValidator( iv ); } @@ -484,7 +484,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQIntValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQIntValidator( e ) ); } else if ( type == "ulong" || type == "unsigned long" || type == "unsigned long int" || type == "TQ_UINT64" ) @@ -496,7 +496,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQIntValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQIntValidator( e ) ); } else if ( type == "short" || type == "short int" ) { @@ -507,7 +507,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQIntValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQIntValidator( e ) ); } else if ( type == "ushort" || type == "unsigned short" || type == "unsigned short int" ) { @@ -518,7 +518,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQIntValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQIntValidator( e ) ); } else if ( type == "float" ) { @@ -529,7 +529,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQDoubleValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQDoubleValidator( e ) ); } else if ( type == "double" ) { @@ -540,7 +540,7 @@ void KDCOPWindow::slotCallFunction( TQListViewItem* it ) KLineEdit* e = new KLineEdit( frame ); grid->addWidget( e, i, 2 ); wl.append( e ); - e->setValidator( new TQDoubleValidator( TQT_TQOBJECT(e) ) ); + e->setValidator( new TQDoubleValidator( e ) ); } else if ( type == "bool" ) { |