diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:46:28 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-01-07 19:46:28 +0900 |
commit | a94d6ed6aa6bb9a8fb52a8132a92d2110b7fc315 (patch) | |
tree | 8959f605f78240e3f4553a85af33feedbd16f004 /kbarcode/databasebrowser.cpp | |
parent | 95d1e67dc4ccd69b814a2e1a0437c75017b92450 (diff) | |
download | kbarcode-a94d6ed6aa6bb9a8fb52a8132a92d2110b7fc315.tar.gz kbarcode-a94d6ed6aa6bb9a8fb52a8132a92d2110b7fc315.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kbarcode/databasebrowser.cpp')
-rw-r--r-- | kbarcode/databasebrowser.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kbarcode/databasebrowser.cpp b/kbarcode/databasebrowser.cpp index 17aba81..649c348 100644 --- a/kbarcode/databasebrowser.cpp +++ b/kbarcode/databasebrowser.cpp @@ -49,10 +49,10 @@ DatabaseBrowser::DatabaseBrowser( TQString _database, TQWidget *parent, const ch database = _database; - connect( table, TQT_SIGNAL( cursorChanged( TQSql::Op ) ), - SqlTables::getInstance(), TQT_SIGNAL( tablesChanged() ) ); + connect( table, TQ_SIGNAL( cursorChanged( TQSql::Op ) ), + SqlTables::getInstance(), TQ_SIGNAL( tablesChanged() ) ); - connect( this, TQT_SIGNAL( connectedSQL() ), this, TQT_SLOT( setupSql() ) ); + connect( this, TQ_SIGNAL( connectedSQL() ), this, TQ_SLOT( setupSql() ) ); findDlg = 0; @@ -81,10 +81,10 @@ void DatabaseBrowser::setupActions() DSMainWindow::setupActions(); TDEPopupMenu* editMenu = new TDEPopupMenu( this ); - 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() ); + TDEAction* acut = KStdAction::cut( this, TQ_SLOT( cut() ), actionCollection() ); + TDEAction* acopy = KStdAction::copy( this, TQ_SLOT( copy() ), actionCollection() ); + TDEAction* apaste = KStdAction::paste( this, TQ_SLOT( paste() ), actionCollection() ); + TDEAction* afind = KStdAction::find( this, TQ_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( this, TQT_SLOT( findNext() ), actionCollection() )->plug( editMenu ); + KStdAction::findNext( this, TQ_SLOT( findNext() ), actionCollection() )->plug( editMenu ); editMenu->insertSeparator(); TDEAction* aimport = new TDEAction( i18n("&Import CSV File..."), "", - 0, this, TQT_SLOT(import()), actionCollection(), "import" ); + 0, this, TQ_SLOT(import()), actionCollection(), "import" ); aimport->plug( editMenu ); acut->plug( toolBar() ); @@ -141,7 +141,7 @@ void DatabaseBrowser::find() findDlg->setText( m_find ); findDlg->setDirection( m_direction ); findDlg->setCaseSensitive( m_case ); - connect( findDlg, TQT_SIGNAL( search() ), this, TQT_SLOT( findNext() ) ); + connect( findDlg, TQ_SIGNAL( search() ), this, TQ_SLOT( findNext() ) ); findDlg->exec(); |