diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /kexi/main/kexifinddialog.cpp | |
parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kexi/main/kexifinddialog.cpp')
-rw-r--r-- | kexi/main/kexifinddialog.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kexi/main/kexifinddialog.cpp b/kexi/main/kexifinddialog.cpp index 80f3c83e..8ca17429 100644 --- a/kexi/main/kexifinddialog.cpp +++ b/kexi/main/kexifinddialog.cpp @@ -49,7 +49,7 @@ class KexiFindDialog::Private //! Connects action \a action with appropriate signal \a member //! and optionally adds accel that will receive shortcut for \a action //! at global scope of the dialog \a parent. - void setActionAndAccel(KAction *action, TQWidget* parent, const char* member) + void setActionAndAccel(TDEAction *action, TQWidget* parent, const char* member) { if (!action) return; @@ -65,10 +65,10 @@ class KexiFindDialog::Private TQStringList lookInColumnNames; TQStringList lookInColumnCaptions; TQString objectName; //!< for caption - TQGuardedPtr<KAction> findnextAction; - TQGuardedPtr<KAction> findprevAction; - TQGuardedPtr<KAction> replaceAction; - TQGuardedPtr<KAction> replaceallAction; + TQGuardedPtr<TDEAction> findnextAction; + TQGuardedPtr<TDEAction> findprevAction; + TQGuardedPtr<TDEAction> replaceAction; + TQGuardedPtr<TDEAction> replaceallAction; TQPtrList<TQAccel> accels; bool replaceMode : 1; }; @@ -84,7 +84,7 @@ KexiFindDialog::KexiFindDialog( TQWidget* parent ) m_search->setCurrentItem((int)KexiSearchAndReplaceViewInterface::Options::SearchDown); layout()->setMargin( KDialog::marginHint() ); layout()->setSpacing( KDialog::spacingHint() ); - KAction *a = KStdAction::findNext(0, 0, 0); + TDEAction *a = KStdAction::findNext(0, 0, 0); m_btnFind->setText(a->text()); m_btnFind->setIconSet(a->iconSet()); delete a; @@ -109,8 +109,8 @@ KexiFindDialog::~KexiFindDialog() delete d; } -void KexiFindDialog::setActions( KAction *findnext, KAction *findprev, - KAction *replace, KAction *replaceall ) +void KexiFindDialog::setActions( TDEAction *findnext, TDEAction *findprev, + TDEAction *replace, TDEAction *replaceall ) { d->findnextAction = findnext; d->findprevAction = findprev; |