source: src-qt4/qsudo/mainwindow.h @ 33b8b3a

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1releng/10.1.1
Last change on this file since 33b8b3a was 33b8b3a, checked in by Kris Moore <kris@…>, 20 months ago

Update qsudo, now it is smarter, will test passwords and let you retry up to 3x

  • Property mode set to 100644
File size: 570 bytes
Line 
1#ifndef MAINWIN_H
2#define MAINWIN_H
3
4#include "ui_mainwindow.h"
5#include <QProcess>
6#include "../config.h"
7
8class MainWindow : public QMainWindow, private Ui::MainWindow
9{
10        Q_OBJECT
11
12public:
13        MainWindow() : QMainWindow()
14        {
15          setupUi(this);
16        }
17
18public slots:
19    void ProgramInit();
20
21private slots:
22    void slotButtonClicked(QAbstractButton *myBut);
23    void slotReturnPressed();
24    void slotProcDone();
25
26private:
27    void startSudo();
28    void testPass();
29    QProcess *sudoProc;
30    int tries;
31
32signals:
33
34} ;
35#endif // MAINWIN_H
36
Note: See TracBrowser for help on using the repository browser.