aboutsummaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index c2ab2b3..d9c62bf 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -4,6 +4,14 @@
#include <QMainWindow>
#include <qobjectdefs.h>
+struct ViewTootTypes {
+ bool includePublic = true;
+ bool includeUnlisted = true;
+ bool includePrivate = true;
+ bool includeDirect = true;
+ bool onlyWithAttachment = false;
+};
+
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
@@ -18,8 +26,22 @@ public:
private slots:
void on_actionOpen_triggered(bool checked);
+ void on_actionQuit_triggered(bool checked);
+ void on_actionAbout_triggered(bool checked);
+
+ void on_actionAll_toots_triggered(bool checked);
+ void on_actionPublic_toots_triggered(bool checked);
+ void on_actionUnlisted_toots_triggered(bool checked);
+ void on_actionPrivate_toots_triggered(bool checked);
+ void on_actionDirect_messages_triggered(bool checked);
+ void on_actionOnly_with_attachment_triggered(bool checked);
private:
+ void reset_view_filters();
+
Ui::MainWindow *ui;
+
+ QString outbox_filename;
+ ViewTootTypes view_filters;
};
#endif // MAINWINDOW_H