summaryrefslogtreecommitdiffstats
path: root/src/IndentHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/IndentHandler.h')
-rw-r--r--src/IndentHandler.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/IndentHandler.h b/src/IndentHandler.h
index d7b9239..97b00d1 100644
--- a/src/IndentHandler.h
+++ b/src/IndentHandler.h
@@ -23,7 +23,7 @@
#include <tqwidget.h>
class MainWindow;
-///-- class UiGuiErrorMessage;
+class UiGuiErrorMessage;
///-- class UiGuiIniFileParser;
class TQComboBox;
@@ -47,21 +47,21 @@ class IndentHandler : public TQWidget
///-- TQString generateShellScript(const TQString &configFilename);
///-- TQString callIndenter(TQString sourceCode, TQString inputFileExtension);
-///-- bool loadConfigFile(TQString filePathName);
-///-- void resetToDefaultValues();
-///-- TQStringList getAvailableIndenters();
+ bool loadConfigFile(const TQString &filePathName);
+ void resetToDefaultValues();
+ TQStringList getAvailableIndenters();
///-- TQString getPossibleIndenterFileExtensions();
-///-- TQString getParameterString();
-///-- TQString getIndenterCfgFile();
+ TQString getParameterString();
+ TQString getIndenterCfgFile();
///-- TQString getManual();
///-- TQString getCurrentIndenterName();
void contextMenuEvent(TQContextMenuEvent *event);
///-- int getIndenterId();
///--
-///-- signals:
-///-- void indenterSettingsChanged();
+ signals:
+ void indenterSettingsChanged();
///-- void selectedIndenterIndexChanged(int index);
-///--
+
///-- protected:
///-- bool event(TQEvent *event);
///-- void wheelEvent(TQWheelEvent *event);
@@ -73,14 +73,14 @@ class IndentHandler : public TQWidget
void saveasIndentCfgFileDialog();
void createIndenterCallShellScript();
void resetIndenterParameter();
-///-- void handleChangedIndenterSettings();
-///--
-///-- private:
+ void handleChangedIndenterSettings();
+
+ private:
///-- TQString callExecutableIndenter(TQString sourceCode, TQString inputFileExtension);
///-- TQString callJavaScriptIndenter(TQString sourceCode);
-///-- void saveConfigFile(TQString filePathName, TQString parameterString);
-///-- void readIndentIniFile(TQString iniFilePath);
-///-- bool createIndenterCallString();
+ void saveConfigFile(const TQString &filePathName, const TQString &parameterString);
+ void readIndentIniFile(const TQString &iniFilePath);
+ bool createIndenterCallString();
///--
///-- // Holds a reference to all created pages of the parameter categories toolbox and the pages
///-- // boxlayout
@@ -146,18 +146,18 @@ class IndentHandler : public TQWidget
///-- // Vertical layout box, into which the toolbox will be added
TQVBoxLayout *m_toolBoxContainerLayout;
TQToolBox *m_indenterParameterCategoriesToolBox;
-///-- UiGuiIniFileParser *_indenterSettings;
+///-- UiGuiIniFileParser *m_indenterSettings;
///-- TQStringList _indenterParameters;
///-- // The indenters name in a descriptive form
///-- TQString _indenterName;
///-- // The indenters file name (w/o extension), that is being called
-///-- TQString _indenterFileName;
+ TQString m_indenterFileName;
TQString m_indenterDirectoryStr;
TQString m_tempDirectoryStr;
TQString m_settingsDirectoryStr;
-///-- TQStringList _indenterIniFileList;
+ TQStringList m_indenterIniFileList;
///-- TQString _parameterOrder;
-///-- TQString _globalConfigFilename;
+ TQString m_globalConfigFilename;
///-- TQString _cfgFileParameterEnding;
///-- TQString _inputFileParameter;
///-- TQString _inputFileName;
@@ -168,7 +168,7 @@ class IndentHandler : public TQWidget
///-- TQString _indenterShowHelpParameter;
MainWindow *m_mainWindow;
TQWidget *m_parent;
-///-- UiGuiErrorMessage *_errorMessageDialog;
+ UiGuiErrorMessage *m_errorMessageDialog;
TQString m_indenterExecutableCallString;
TQString m_indenterExecutableSuffix;
///--