summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_part.h
diff options
context:
space:
mode:
Diffstat (limited to 'parts/astyle/astyle_part.h')
-rw-r--r--parts/astyle/astyle_part.h40
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;
};