diff options
author | Arno <arno@disconnect.de> | 2022-04-15 13:27:34 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2022-04-15 13:27:34 +0200 |
commit | 856119c5a43b4781b051b93a0713c152cfd99f85 (patch) | |
tree | 4e2fde4e7a76179cc243e0665091c6ad429ea640 /fswidget.h | |
parent | 62d3ca1482b202d2883eeb5e17e72300e8612477 (diff) | |
download | SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.gz SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.tar.bz2 SheMov-856119c5a43b4781b051b93a0713c152cfd99f85.zip |
Make it run with Qt6
This is a huge commit. Changes:
* Obviously, make it compile
* Make it run (only scarcely tested)
* get rid of most of clang's warnings
Let's see what surprises are in store...
Diffstat (limited to 'fswidget.h')
-rw-r--r-- | fswidget.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -3,7 +3,6 @@ #include <QWidget> #include <QSqlQuery> -#include <QMediaPlayer> class QComboBox; class QTreeView; @@ -42,7 +41,7 @@ class FSWidget : public QWidget { void archivePics(); void copyMD5(); void advanceDir(int by); - int queryCount(QSqlQuery &q, const QString &arg); + int queryCount(QSqlQuery *q, const QString &arg); void filterMime(const QString &mime); void unpack(); void doubleClicked(const QModelIndex &idx); @@ -52,7 +51,6 @@ class FSWidget : public QWidget { void doPlay(); void selectFilter(); void calculateSelectionChanged(); - void playerStateChanged(QMediaPlayer::State s); signals: void message(QString msg); @@ -76,7 +74,6 @@ class FSWidget : public QWidget { NewMovieWizard *mMovieWizard; NewPicsDialog *mNewPicsDlg; Viewer *mViewer; - VideoViewer *mVideoViewer; int mQueryCount; QAction *mPlayWithA; }; |