summaryrefslogtreecommitdiffstats
path: root/parts/astyle/astyle_part.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:56:13 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2019-06-01 15:56:13 +0900
commitb1e66b339befa7bdf222f7bb80a431236a3ff689 (patch)
tree3ae72987233dbeddeb7fe370ee36dbe36077663c /parts/astyle/astyle_part.h
parent5fcb1d91b4f52ab609864968a7320eb276f6c068 (diff)
downloadtdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.tar.gz
tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.zip
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts/astyle/astyle_part.h')
-rw-r--r--parts/astyle/astyle_part.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/parts/astyle/astyle_part.h b/parts/astyle/astyle_part.h
index 61b5a382..f5a79485 100644
--- a/parts/astyle/astyle_part.h
+++ b/parts/astyle/astyle_part.h
@@ -30,7 +30,7 @@ public:
AStylePart(TQObject *parent, const char *name, const TQStringList &);
~AStylePart();
- TQString formatSource(const TQString text, AStyleWidget * widget, const TQMap<TQString, TQVariant>& options);
+ TQString formatSource(const TQString text, AStyleWidget * widget, const TQStringVariantMap& options);
virtual TQString formatSource(const TQString text);
TQString indentString() const;
void saveGlobal();
@@ -40,8 +40,8 @@ public:
void restorePartialProjectSession(const TQDomElement * el);
void savePartialProjectSession(TQDomElement * el);
- TQMap<TQString, TQVariant>& getProjectOptions(){return m_project;}
- TQMap<TQString, TQVariant>& getGlobalOptions(){return m_global;}
+ TQStringVariantMap& getProjectOptions(){return m_project;}
+ TQStringVariantMap& getGlobalOptions(){return m_global;}
private slots:
@@ -65,8 +65,8 @@ private:
TDEAction *formatFileAction;
// the configurable options.
- TQMap<TQString, TQVariant> m_project;
- TQMap<TQString, TQVariant> m_global;
+ TQStringVariantMap m_project;
+ TQStringVariantMap m_global;
TQStringList m_projectExtensions;
TQStringList m_globalExtensions;
TQMap<TQString, TQString> m_searchExtensions;