aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 8bfa3b2..2d05e00 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -3,10 +3,10 @@
#include <QMainWindow>
#include <QListWidgetItem>
#include <QLocale>
-#include <qobjectdefs.h>
#include "archive_parser.h"
#include "types.h"
+#include "command_line.h"
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
@@ -20,6 +20,8 @@ public:
MainWindow(QWidget *parent = nullptr);
~MainWindow();
+ void act_command_line(CommandLineParsedOptions &options, QCommandLineParser &parser);
+
private slots:
void on_actionOpen_triggered(bool checked);
void on_actionQuit_triggered(bool checked);
@@ -44,6 +46,7 @@ private slots:
private:
void reset_view_filters();
void relist_statuses();
+ void open_file(const QString &filename);
Ui::MainWindow *ui;