source: src-qt4/qsudo/mainwindow.h @ b3051eb

9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3
Last change on this file since b3051eb was b3051eb, checked in by yurkis <yurkis@…>, 13 months ago

Fix qsudo password input box behaviour

  • Property mode set to 100644
File size: 708 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    void slotPrintStdErr();
26    void slotPrintStdOut();
27    void slotPwdTextChanged ( const QString & text );
28
29
30private:
31    void startSudo();
32    void testPass();
33    bool checkUserGroup();
34    QProcess *sudoProc;
35    int tries;
36
37signals:
38
39} ;
40#endif // MAINWIN_H
41
Note: See TracBrowser for help on using the repository browser.