diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:56:07 +0000 |
commit | d6f8bbb45b267065a6907e71ff9c98bb6d161241 (patch) | |
tree | d109539636691d7b03036ca1c0ed29dbae6577cf /parts/astyle/astyle_part.h | |
parent | 3331a47a9cad24795c7440ee8107143ce444ef34 (diff) | |
download | tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.tar.gz tdevelop-d6f8bbb45b267065a6907e71ff9c98bb6d161241.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1157658 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'parts/astyle/astyle_part.h')
-rw-r--r-- | parts/astyle/astyle_part.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/parts/astyle/astyle_part.h b/parts/astyle/astyle_part.h index bf572dcc..377a2b85 100644 --- a/parts/astyle/astyle_part.h +++ b/parts/astyle/astyle_part.h @@ -12,8 +12,8 @@ class KDialogBase; #include <kparts/part.h> #include <kdevplugin.h> #include <kdebug.h> -#include <qmap.h> -#include <qvariant.h> +#include <tqmap.h> +#include <tqvariant.h> class AStyleWidget; class QPopupMenu; @@ -26,21 +26,21 @@ class AStylePart : public KDevSourceFormatter public: - AStylePart(QObject *parent, const char *name, const QStringList &); + AStylePart(TQObject *parent, const char *name, const TQStringList &); ~AStylePart(); - QString formatSource(const QString text, AStyleWidget * widget, const QMap<QString, QVariant>& options); - virtual QString formatSource(const QString text); - QString indentString() const; + TQString formatSource(const TQString text, AStyleWidget * widget, const TQMap<TQString, TQVariant>& options); + virtual TQString formatSource(const TQString text); + TQString indentString() const; void saveGlobal(); - void setExtensions(QString ext, bool global); - QString getProjectExtensions(); - QString getGlobalExtensions(); - void restorePartialProjectSession(const QDomElement * el); - void savePartialProjectSession(QDomElement * el); + void setExtensions(TQString ext, bool global); + TQString getProjectExtensions(); + TQString getGlobalExtensions(); + void restorePartialProjectSession(const TQDomElement * el); + void savePartialProjectSession(TQDomElement * el); - QMap<QString, QVariant>& getProjectOptions(){return m_project;} - QMap<QString, QVariant>& getGlobalOptions(){return m_global;} + TQMap<TQString, TQVariant>& getProjectOptions(){return m_project;} + TQMap<TQString, TQVariant>& getGlobalOptions(){return m_global;} private slots: @@ -49,8 +49,8 @@ private slots: void beautifySource(); void formatFiles(); void formatFilesSelect(); - void insertConfigWidget(const KDialogBase *dlg, QWidget *page, unsigned int pageNo); - void contextMenu(QPopupMenu *popup, const Context *context); + void insertConfigWidget(const KDialogBase *dlg, TQWidget *page, unsigned int pageNo); + void contextMenu(TQPopupMenu *popup, const Context *context); private: @@ -64,11 +64,11 @@ private: KAction *formatFileAction; // the configurable options. - QMap<QString, QVariant> m_project; - QMap<QString, QVariant> m_global; - QStringList m_projectExtensions; - QStringList m_globalExtensions; - QMap<QString, QString> m_searchExtensions; + TQMap<TQString, TQVariant> m_project; + TQMap<TQString, TQVariant> m_global; + TQStringList m_projectExtensions; + TQStringList m_globalExtensions; + TQMap<TQString, TQString> m_searchExtensions; KURL::List m_urls; }; |