diff options
author | Michele Calgaro <[email protected]> | 2019-06-01 15:56:13 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2019-06-01 15:56:13 +0900 |
commit | b1e66b339befa7bdf222f7bb80a431236a3ff689 (patch) | |
tree | 3ae72987233dbeddeb7fe370ee36dbe36077663c /parts/astyle/astyle_part.h | |
parent | 5fcb1d91b4f52ab609864968a7320eb276f6c068 (diff) | |
download | tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.tar.gz tdevelop-b1e66b339befa7bdf222f7bb80a431236a3ff689.zip |
Adjusted to use new TQStringVariantMap type.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'parts/astyle/astyle_part.h')
-rw-r--r-- | parts/astyle/astyle_part.h | 10 |
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; |