summaryrefslogtreecommitdiffstats
path: root/src/MainWindow.h
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-04-24 15:50:43 +0900
committerMichele Calgaro <[email protected]>2023-04-24 15:50:43 +0900
commitb3c19a6270926cc1e57aa1f33cb07af29eb3e896 (patch)
tree5bb9d88698aa83b31645732f4aa08b92701a9037 /src/MainWindow.h
parent425e16ad894fd23d7c5b061acffba6cd04a1b1db (diff)
downloaduniversal-indent-gui-tqt-b3c19a6270926cc1e57aa1f33cb07af29eb3e896.tar.gz
universal-indent-gui-tqt-b3c19a6270926cc1e57aa1f33cb07af29eb3e896.zip
Added logic to open a file using the "Open source file" menu entry,
the toolbar button or by passing it as argument from CLI. Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/MainWindow.h')
-rw-r--r--src/MainWindow.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/MainWindow.h b/src/MainWindow.h
index 773c1ec..340d9ed 100644
--- a/src/MainWindow.h
+++ b/src/MainWindow.h
@@ -53,11 +53,11 @@ class MainWindow : public MainWindowBase
///-- bool eventFilter(TQObject *obj, TQEvent *event);
///--
private slots:
- void openSourceFileDialog(TQString fileName = "");
+ void openSourceFileDialog(const TQString &fileName = TQString::null);
bool saveSourceFile();
bool saveasSourceFileDialog(TQAction *chosenEncodingAction = NULL);
void saveAsOtherEncoding(TQAction *chosenEncodingAction);
-///-- void callIndenter();
+ void callIndenter();
void updateSourceView();
void turnHighlightOnOff(bool turnOn);
void setWhiteSpaceVisibility(bool visible);