summaryrefslogtreecommitdiffstats
path: root/src/IndentHandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/IndentHandler.h')
-rw-r--r--src/IndentHandler.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/IndentHandler.h b/src/IndentHandler.h
index d719fce..0d61544 100644
--- a/src/IndentHandler.h
+++ b/src/IndentHandler.h
@@ -40,7 +40,7 @@ class TQVBoxLayout;
class IndentHandler : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
IndentHandler(int indenterID, MainWindow *mainWindow = nullptr, TQWidget *parent = nullptr);
@@ -51,20 +51,15 @@ class IndentHandler : public TQWidget
bool loadConfigFile(const TQString &filePathName);
void resetToDefaultValues();
TQStringList getAvailableIndenters();
-///-- TQString getPossibleIndenterFileExtensions();
+ TQString getPossibleIndenterFileExtensions();
TQString getParameterString();
TQString getIndenterCfgFile();
-///-- TQString getManual();
+ TQString getManual();
TQString getCurrentIndenterName();
void contextMenuEvent(TQContextMenuEvent *event);
signals:
void indenterSettingsChanged();
-///-- void selectedIndenterIndexChanged(int index);
-
-///-- protected:
-///-- bool event(TQEvent *event);
-///-- void wheelEvent(TQWheelEvent *event);
private slots:
void setIndenter(int indenterID);
@@ -78,7 +73,6 @@ class IndentHandler : public TQWidget
private:
TQString callExecutableIndenter(const TQString &sourceCode, const TQString &inputFileExt);
- TQString callJavaScriptIndenter(const TQString &sourceCode);
void saveConfigFile(const TQString &filePathName, const TQString &parameterString);
void readIndentIniFile(const TQString &iniFilePath);
bool createIndenterCallString();