~bstrong-f/fisysmgr/trunk

« back to all changes in this revision

Viewing changes to main/include/credsdialog.h

  • Committer: Barry Strong
  • Date: 2015-05-10 13:05:49 UTC
  • Revision ID: barry@softtechok.com-20150510130549-xlbzzt5slojawh70
Replaced password dialog with credentials dialog. Added minimal about box. Added change mout option value dialog. modified to compile with Qt4 or Qt5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
#include <QDir>
22
22
#include <QSettings>
23
23
#include <QMessageBox>
24
 
#include <soundplayer.h>
 
24
#include "soundplayer.h"
25
25
#include <QValidator>
26
26
#include <QRegExp>
27
27
#include <QKeyEvent>
41
41
    Q_OBJECT
42
42
 
43
43
public:
44
 
    explicit CredsDialog(QWidget *parent = 0);
 
44
    explicit CredsDialog(int mode = 0, QWidget *parent = 0);
45
45
    QString value();
 
46
    QString workgroup();
 
47
    QString username();
 
48
    QString password();
46
49
    void setValue(QString val);
47
50
    ~CredsDialog();
48
51
 
60
63
 
61
64
    void on_pbDelete_clicked();
62
65
 
 
66
    void on_pbClose_clicked();
 
67
 
63
68
private:
64
69
    Ui::CredsDialog         *ui;
65
70
    QString                 dirName;
66
71
    bool                    editMode;
 
72
    bool                    loading;
67
73
    QRegExp                 fnRegExp;
68
74
    QRegExpValidator        fnValidator;
69
75
    QSortFilterProxyModel   *sortProxy;