diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:09:56 -0600 |
commit | 5ca50f0ef6000d132b45fc6a50cf3062245bd070 (patch) | |
tree | 99c6b7de89d289e0a80ec21f7525dc514bc759d1 /kmouth/phrasebook/phrasebook.h | |
parent | 722a076e84b860a947f4c68417db82526b03b1a1 (diff) | |
download | tdeaccessibility-5ca50f0ef6000d132b45fc6a50cf3062245bd070.tar.gz tdeaccessibility-5ca50f0ef6000d132b45fc6a50cf3062245bd070.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmouth/phrasebook/phrasebook.h')
-rw-r--r-- | kmouth/phrasebook/phrasebook.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kmouth/phrasebook/phrasebook.h b/kmouth/phrasebook/phrasebook.h index 1e77c6d..d156be2 100644 --- a/kmouth/phrasebook/phrasebook.h +++ b/kmouth/phrasebook/phrasebook.h @@ -131,8 +131,8 @@ public: /** Adds the entries of the book to both the given popup menu and the given * toolbar. The corresponding actions will be inserted into phrases. */ - void addToGUI (TQPopupMenu *popup, KToolBar *toolbar, - KActionCollection *phrases, + void addToGUI (TQPopupMenu *popup, TDEToolBar *toolbar, + TDEActionCollection *phrases, TQObject *receiver, const char *slot) const; /** Inserts book into a new sub phrase book. @@ -169,12 +169,12 @@ private: TQTextDrag plain; }; -class PhraseAction : public KAction { +class PhraseAction : public TDEAction { Q_OBJECT public: - PhraseAction (const TQString& phrase, const TQString& cut, const TQObject* receiver, const char* slot, KActionCollection* parent) - : KAction (phrase, "phrase", KShortcut(cut), 0, 0, parent, phrase.latin1()) { + PhraseAction (const TQString& phrase, const TQString& cut, const TQObject* receiver, const char* slot, TDEActionCollection* parent) + : TDEAction (phrase, "phrase", TDEShortcut(cut), 0, 0, parent, phrase.latin1()) { this->phrase = phrase; connect (this, TQT_SIGNAL(slotActivated (const TQString &)), receiver, slot); }; @@ -183,7 +183,7 @@ public: public slots: void slotActivated () { - KAction::slotActivated(); + TDEAction::slotActivated(); emit slotActivated (phrase); } |