diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-14 16:45:05 +0000 |
commit | 48d4a26399959121f33d2bc3bfe51c7827b654fc (patch) | |
tree | 5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /lib/util/configwidgetproxy.h | |
parent | 7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff) | |
download | tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip |
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/util/configwidgetproxy.h')
-rw-r--r-- | lib/util/configwidgetproxy.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/util/configwidgetproxy.h b/lib/util/configwidgetproxy.h index 1ba7e5c5..c35c09c9 100644 --- a/lib/util/configwidgetproxy.h +++ b/lib/util/configwidgetproxy.h @@ -68,9 +68,10 @@ void MyPart::insertConfigWidget( TQObject const * dlg, TQWidget * page, unsigned Note that this replaces the functionality of typical KDevCore::configWidget() and KDevCore::projectConfigWidget() slots. */ -class ConfigWidgetProxy : public QObject +class ConfigWidgetProxy : public TQObject { Q_OBJECT + TQ_OBJECT public: /**Constructor. @@ -104,7 +105,7 @@ signals: /** * The proxy emits this signal to notify the client that a specific config page has been requested. * @param dlg The settings dialog. The client should connect to its okClicked() signal. - * @param page The setting page. The client should use this as parent to the config widget. + * @param page The setting page. The client should use this as tqparent to the config widget. * @param pagenumber The identifier set in createGlobalConfigPage() or createProjectConfigPage(). Identifies the requested config page. */ void insertConfigWidget( const KDialogBase * dlg, TQWidget * page, unsigned int pagenumber ); @@ -116,7 +117,7 @@ private slots: void slotAboutToShowPage( TQWidget * page ); private: - typedef TQMap<unsigned int, QPair<TQString,TQString> > TitleMap; + typedef TQMap<unsigned int, TQPair<TQString,TQString> > TitleMap; typedef TQMap<TQWidget*, int> PageMap; TitleMap _globalTitleMap; @@ -126,4 +127,4 @@ private: #endif -// kate: space-indent off; indent-width 4; replace-tabs off; tab-width 4; +// kate: space-indent off; indent-width 4; tqreplace-tabs off; tab-width 4; |