diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-17 20:55:10 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-18 22:35:44 +0900 |
commit | 97a76f36dbf0d4da6e63805195b911ab0be6b537 (patch) | |
tree | be9f7ec6692d6dbbb4263fb3e1eab4a4ac3c8644 /kbarcode/databasebrowser.cpp | |
parent | 2191b2dfaf7fb1d63dfb59f183c1e942bd3ceea8 (diff) | |
download | kbarcode-97a76f36dbf0d4da6e63805195b911ab0be6b537.tar.gz kbarcode-97a76f36dbf0d4da6e63805195b911ab0be6b537.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 95d1e67dc4ccd69b814a2e1a0437c75017b92450)
Diffstat (limited to 'kbarcode/databasebrowser.cpp')
-rw-r--r-- | kbarcode/databasebrowser.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/kbarcode/databasebrowser.cpp b/kbarcode/databasebrowser.cpp index e3956ac..17aba81 100644 --- a/kbarcode/databasebrowser.cpp +++ b/kbarcode/databasebrowser.cpp @@ -52,7 +52,7 @@ DatabaseBrowser::DatabaseBrowser( TQString _database, TQWidget *parent, const ch connect( table, TQT_SIGNAL( cursorChanged( TQSql::Op ) ), SqlTables::getInstance(), TQT_SIGNAL( tablesChanged() ) ); - connect( TQT_TQOBJECT(this), TQT_SIGNAL( connectedSQL() ), this, TQT_SLOT( setupSql() ) ); + connect( this, TQT_SIGNAL( connectedSQL() ), this, TQT_SLOT( setupSql() ) ); findDlg = 0; @@ -81,10 +81,10 @@ void DatabaseBrowser::setupActions() DSMainWindow::setupActions(); TDEPopupMenu* editMenu = new TDEPopupMenu( this ); - TDEAction* acut = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT( cut() ), actionCollection() ); - TDEAction* acopy = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT( copy() ), actionCollection() ); - TDEAction* apaste = KStdAction::paste( TQT_TQOBJECT(this), TQT_SLOT( paste() ), actionCollection() ); - TDEAction* afind = KStdAction::find( TQT_TQOBJECT(this), TQT_SLOT( find() ), actionCollection() ); + TDEAction* acut = KStdAction::cut( this, TQT_SLOT( cut() ), actionCollection() ); + TDEAction* acopy = KStdAction::copy( this, TQT_SLOT( copy() ), actionCollection() ); + TDEAction* apaste = KStdAction::paste( this, TQT_SLOT( paste() ), actionCollection() ); + TDEAction* afind = KStdAction::find( this, TQT_SLOT( find() ), actionCollection() ); menuBar()->insertItem( i18n("&Edit"), editMenu, -1, 1 ); acut->plug( editMenu ); @@ -93,10 +93,10 @@ void DatabaseBrowser::setupActions() editMenu->insertSeparator(); afind->plug( editMenu ); - KStdAction::findNext( TQT_TQOBJECT(this), TQT_SLOT( findNext() ), actionCollection() )->plug( editMenu ); + KStdAction::findNext( this, TQT_SLOT( findNext() ), actionCollection() )->plug( editMenu ); editMenu->insertSeparator(); TDEAction* aimport = new TDEAction( i18n("&Import CSV File..."), "", - 0, TQT_TQOBJECT(this), TQT_SLOT(import()), actionCollection(), "import" ); + 0, this, TQT_SLOT(import()), actionCollection(), "import" ); aimport->plug( editMenu ); acut->plug( toolBar() ); |