diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 33038ab0e8b8e7fb05093f953e4f6f724c6e2482 (patch) | |
tree | 6a5f53930c5919157cb0f1e928500f97ff8dde95 /kbarcode/databasebrowser.cpp | |
parent | 7a4cd8d44ee83c7de058bb0da8ae6676166e9325 (diff) | |
download | kbarcode-33038ab0e8b8e7fb05093f953e4f6f724c6e2482.tar.gz kbarcode-33038ab0e8b8e7fb05093f953e4f6f724c6e2482.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbarcode@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kbarcode/databasebrowser.cpp')
-rw-r--r-- | kbarcode/databasebrowser.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kbarcode/databasebrowser.cpp b/kbarcode/databasebrowser.cpp index e4e5ef1..ecbae53 100644 --- a/kbarcode/databasebrowser.cpp +++ b/kbarcode/databasebrowser.cpp @@ -84,7 +84,7 @@ void DatabaseBrowser::setupActions() KAction* acut = KStdAction::cut( TQT_TQOBJECT(this), TQT_SLOT( cut() ), actionCollection() ); KAction* acopy = KStdAction::copy( TQT_TQOBJECT(this), TQT_SLOT( copy() ), actionCollection() ); KAction* apaste = KStdAction::paste( TQT_TQOBJECT(this), TQT_SLOT( paste() ), actionCollection() ); - KAction* atqfind = KStdAction::find( TQT_TQOBJECT(this), TQT_SLOT( find() ), actionCollection() ); + KAction* afind = KStdAction::find( TQT_TQOBJECT(this), TQT_SLOT( find() ), actionCollection() ); menuBar()->insertItem( i18n("&Edit"), editMenu, -1, 1 ); acut->plug( editMenu ); @@ -92,7 +92,7 @@ void DatabaseBrowser::setupActions() apaste->plug( editMenu ); editMenu->insertSeparator(); - atqfind->plug( editMenu ); + afind->plug( editMenu ); KStdAction::findNext( TQT_TQOBJECT(this), TQT_SLOT( findNext() ), actionCollection() )->plug( editMenu ); editMenu->insertSeparator(); KAction* aimport = new KAction( i18n("&Import CSV File..."), "", @@ -104,7 +104,7 @@ void DatabaseBrowser::setupActions() apaste->plug( toolBar() ); toolBar()->insertSeparator(); - atqfind->plug( toolBar() ); + afind->plug( toolBar() ); DSMainWindow::loadConfig(); } @@ -133,12 +133,12 @@ void DatabaseBrowser::setupSql() table->refresh( TQDataTable::RefreshAll ); } -void DatabaseBrowser::tqfind() +void DatabaseBrowser::find() { if( !findDlg ) findDlg = new KEdFind( this, "findDlg", false ); - findDlg->setText( m_tqfind ); + findDlg->setText( m_find ); findDlg->setDirection( m_direction ); findDlg->setCaseSensitive( m_case ); connect( findDlg, TQT_SIGNAL( search() ), this, TQT_SLOT( findNext() ) ); @@ -150,13 +150,13 @@ void DatabaseBrowser::tqfind() void DatabaseBrowser::findNext() { if( findDlg ) { - m_tqfind = findDlg->getText(); + m_find = findDlg->getText(); m_direction = findDlg->get_direction(); m_case = findDlg->case_sensitive(); } else - tqfind(); + find(); - table->tqfind( m_tqfind, m_case, m_direction ); + table->find( m_find, m_case, m_direction ); } void DatabaseBrowser::cut() |