source: src-qt4/EasyPBI/portsDialog.h @ 1620346

9.1-release9.2-releasereleng/10.0releng/10.0.1releng/10.0.2releng/10.0.3releng/10.1
Last change on this file since 1620346 was 1620346, checked in by Kris Moore <kris@…>, 20 months ago

Initial import of PC-BSD /current/ SVN repo

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#ifndef PORTS_DIALOG_H
2#define PORTS_DIALOG_H
3
4#include <QDialog>
5#include <QString>
6#include <QDir>
7#include <QFileInfoList>
8#include <QFileInfo>
9#include <QProcess>
10#include <QProcessEnvironment>
11#include <QMessageBox>
12#include <QDateTime>
13#include <QNetworkAccessManager>
14#include <QNetworkRequest>
15#include <QNetworkReply>
16#include <QTimer>
17#include "ui_portsDialog.h"
18
19
20namespace Ui {
21    class portsDialog;
22}
23
24class portsDialog : public QDialog
25{
26    Q_OBJECT
27
28public:
29    explicit portsDialog(QWidget *parent = 0, QString localPortsDir = "", QString sucmd = "");
30    virtual ~portsDialog();
31
32private slots:
33    void slotClose();
34    void slotGetLocalPorts();
35    void slotGetSystemPorts();
36    void updateProgressBar(qint64,qint64);
37    void updateStatusBar();
38    void downloadFinished(QNetworkReply*);
39    void extractLocalPorts();
40    void processFinished(int,QProcess::ExitStatus);
41    void resizeDialog();
42
43private:
44    Ui::portsDialog *ui;
45
46    QString localPortsTree, systemPortsTree, suCMD;
47    bool localPorts, systemPorts;
48    void checkForPorts();
49    QProcess *p;
50};
51
52#endif
Note: See TracBrowser for help on using the repository browser.