From f138d74fe16092003b06f5bde9663841929cde7f Mon Sep 17 00:00:00 2001 From: tpearson Date: Fri, 17 Jun 2011 22:17:08 +0000 Subject: TQt4 port kdeaccessibility This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeaccessibility@1237325 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kttsd/kcmkttsmgr/kcmkttsmgr.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'kttsd/kcmkttsmgr/kcmkttsmgr.h') diff --git a/kttsd/kcmkttsmgr/kcmkttsmgr.h b/kttsd/kcmkttsmgr/kcmkttsmgr.h index 0fc4141..5edb02e 100644 --- a/kttsd/kcmkttsmgr/kcmkttsmgr.h +++ b/kttsd/kcmkttsmgr/kcmkttsmgr.h @@ -21,7 +21,7 @@ #include "config.h" -// Qt includes. +// TQt includes. #include #include @@ -55,9 +55,10 @@ class KCMKttsMgr : virtual public KSpeechSink { Q_OBJECT + TQ_OBJECT public: - KCMKttsMgr(TQWidget *parent, const char *name, const TQStringList &); + KCMKttsMgr(TQWidget *tqparent, const char *name, const TQStringList &); ~KCMKttsMgr(); @@ -285,7 +286,7 @@ class KCMKttsMgr : * Uses KTrader to convert a translated Filter Plugin Name to DesktopEntryName. * @param name The translated plugin name. From Name= line in .desktop file. * @return DesktopEntryName. The name of the .desktop file (less .desktop). - * TQString::null if not found. + * TQString() if not found. */ TQString FilterNameToDesktopEntryName(const TQString& name); @@ -510,13 +511,13 @@ class KCMKttsMgr : /// This is a small helper class to detect when user checks/unchecks a Filter in Filters tab /// and emit changed() signal. -class KttsCheckListItem : public QCheckListItem +class KttsCheckListItem : public TQCheckListItem { public: - KttsCheckListItem( TQListView *parent, + KttsCheckListItem( TQListView *tqparent, const TQString &text, Type tt = RadioButtonController, KCMKttsMgr* kcmkttsmgr = 0); - KttsCheckListItem( TQListView *parent, TQListViewItem *after, + KttsCheckListItem( TQListView *tqparent, TQListViewItem *after, const TQString &text, Type tt = RadioButtonController, KCMKttsMgr* kcmkttsmgr = 0); -- cgit v1.2.1