source: src-qt4/qsudo/mainwindow.h @ 1f14f705

9.2-releasereleng/10.0releng/10.0.1
Last change on this file since 1f14f705 was 1f14f705, checked in by Kris Moore <kris@…>, 9 months ago

Update qsudo, since we like to see stdout / stderr messages ;)

  • Property mode set to 100644
File size: 626 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
28private:
29    void startSudo();
30    void testPass();
31    QProcess *sudoProc;
32    int tries;
33
34signals:
35
36} ;
37#endif // MAINWIN_H
38
Note: See TracBrowser for help on using the repository browser.