summaryrefslogtreecommitdiffstats
path: root/dbanalyzer.h
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-12-17 09:26:11 +0100
committerArno <am@disconnect.de>2011-12-17 09:26:11 +0100
commita6f689586a1c7f939493c4122466146ac57ad6e6 (patch)
treeb58c7f1f5664fb98b820389eaaf1784ce772c7f2 /dbanalyzer.h
parent41988854efb9a6e0a3d3196628b5fd2c853bf059 (diff)
downloadSheMov-a6f689586a1c7f939493c4122466146ac57ad6e6.tar.gz
SheMov-a6f689586a1c7f939493c4122466146ac57ad6e6.tar.bz2
SheMov-a6f689586a1c7f939493c4122466146ac57ad6e6.zip
Added refresh to DbAnalyzerDialog
Well, right now the queries are cheap, so don't bother with removing items from the model and just repopulate it completely.
Diffstat (limited to 'dbanalyzer.h')
-rw-r--r--dbanalyzer.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbanalyzer.h b/dbanalyzer.h
index 1e47742..4b693e0 100644
--- a/dbanalyzer.h
+++ b/dbanalyzer.h
@@ -29,6 +29,9 @@ class DbAnalyzerDialog : public QDialog {
enum DeleteMode { Actors, Genres };
explicit DbAnalyzerDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
+ public slots:
+ void refresh();
+
signals:
void partClicked(int seriesPartId, int seriesId);
void delItems(int mode, QList<int> &ids);
@@ -53,6 +56,7 @@ class DbAnalyzerDialog : public QDialog {
QPushButton *mClose;
QPushButton *mCancel;
QPushButton *mDelete;
+ QPushButton *mRefresh;
DbAnalyzer *mAnalyzer;
};