diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-04-24 15:44:35 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2022-05-26 18:41:20 +0200 |
commit | 60cacb4babb46ae2ab22ae0b7b7357012887460d (patch) | |
tree | e68cea1bd5a3cd84a5514740a515ce12772170da /src/mainwindow.h | |
parent | e5d35d6b643dbb8ecbd3ece2a0d84ec93cadbfc1 (diff) |
Better viewer. Set license to GPL 3.
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r-- | src/mainwindow.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h index 210bf5e..05474f2 100644 --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -12,7 +12,7 @@ * * Qookie is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * Qookie is distributed in the hope that it will be useful, @@ -27,11 +27,15 @@ #pragma once #include <QMainWindow> +#include <QListWidget> + class QListWidget; +class QListWidgetItem; class Database; +class Viewer; -class MainWindow : - public QMainWindow +class MainWindow + : public QMainWindow { Q_OBJECT public: @@ -40,9 +44,11 @@ public: public slots: // void updateDocumentStatus(bool changed); + void itemChanged(int row); private: void readDatabase(); QListWidget *listWidget; Database& db; + Viewer* viewer{nullptr}; }; |