summaryrefslogtreecommitdiffstats
path: root/shemovcleaner.h
blob: a518ae22834ff42978d760760f32d1d73eb2ff8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#ifndef SHEMOVCLEANER_H
#define SHEMOVCLEANER_H

#include <QMainWindow>

class QTabWidget;
class TorrentWidget;
class FileWidget;
class QLabel;
class QAction;

class ShemovCleaner : public QMainWindow {
    Q_OBJECT
    public:
        ShemovCleaner(QWidget *parent = 0, Qt::WindowFlags f = 0);

    public slots:
        void statusBarMessage(const QString &msg);
        void setSelectionCount(const QString &msg);
        void configure();

    private:
        void createStatusBar();
        void createActions();
        void openDatabase();
        QAction *createSeparator();
        QLabel *mSelected;
        QTabWidget *mTab;
        TorrentWidget *mTorrentTab;
        FileWidget *mFileTab;
        QAction *mTorRefreshA;
        QAction *mTorDeleteA;
        QAction *mTorMoveA;
        QAction *mTorInfoA;
        QAction *mTorDirA;
        QAction *mTorCopyToClipA;
        QAction *mFnThisCopyToClipA;
};

#endif // SHEMOVCLEANER_H