summaryrefslogtreecommitdiff
path: root/noncore/settings/mediummount/mainwindow.h
blob: 96498638f4337655c393bba0ec6cc5f20bcf18a3 (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


#ifndef MediumMountMainwindow_h
#define MediumMountMainwindow_h

#include <qlist.h>
#include <qdialog.h>

class QVBoxLayout;
class QTabWidget;

namespace MediumMountSetting {
  class MediumMountWidget;
  class MediumGlobalWidget;
  class MainWindow : public QDialog {
    Q_OBJECT
  public:
    MainWindow(QWidget *parent = 0, const char *name = 0 ,  bool modal = FALSE, WFlags = 0);
    ~MainWindow();
    static QString appName() { return QString::fromLatin1("mediummount"); }

  private slots:
    void slotGlobalChanged(int );
    void slotCheckingChanged(int );
    void accept();
    void done( int );
  private:
    void init();
    QTabWidget *m_tab;
    QVBoxLayout *m_lay;
    MediumGlobalWidget *m_global;
    QList<MediumMountWidget> m_mediums;
  };
};

#endif