diff options
Diffstat (limited to 'src/IndentHandler.h')
-rw-r--r-- | src/IndentHandler.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/IndentHandler.h b/src/IndentHandler.h index 0d51a0a..d719fce 100644 --- a/src/IndentHandler.h +++ b/src/IndentHandler.h @@ -47,7 +47,7 @@ class IndentHandler : public TQWidget ~IndentHandler(); TQString generateShellScript(const TQString &configFilename); -///-- TQString callIndenter(TQString sourceCode, TQString inputFileExtension); + TQString callIndenter(const TQString &sourceCode, const TQString &inputFileExtension); bool loadConfigFile(const TQString &filePathName); void resetToDefaultValues(); TQStringList getAvailableIndenters(); @@ -77,8 +77,8 @@ class IndentHandler : public TQWidget void indenterProcessFinished(); private: -///-- TQString callExecutableIndenter(TQString sourceCode, TQString inputFileExtension); -///-- TQString callJavaScriptIndenter(TQString sourceCode); + TQString callExecutableIndenter(const TQString &sourceCode, const TQString &inputFileExt); + TQString callJavaScriptIndenter(const TQString &sourceCode); void saveConfigFile(const TQString &filePathName, const TQString ¶meterString); void readIndentIniFile(const TQString &iniFilePath); bool createIndenterCallString(); @@ -169,8 +169,8 @@ class IndentHandler : public TQWidget TQString m_indenterExecutableSuffix; bool m_indenterProcessFinished; -///-- //TODO: This function should go into a string helper/tool class/file. -///-- TQString encodeToHTML(const TQString &text); + //TODO: This function should go into a string helper/tool class/file. + TQString encodeToHTML(const TQString &text); }; #endif // INDENTHANDLER_H |