Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-webphotoalbum-git / assistant.h @ 83a77071

Historique | Voir | Annoter | Télécharger (1,66 ko)

1
/**
2
  * Classe
3
  * @see https://redmine.ryxeo.com/projects/
4
  * @author 2012 Eric Seigne <eric.seigne@ryxeo.com>
5
  * @see The GNU Public License (GNU/GPL) v3
6
  *
7
  *
8
  *
9
  * This program is free software; you can redistribute it and/or modify
10
  * it under the terms of the GNU General Public License as published by
11
  * the Free Software Foundation; either version 3 of the License, or
12
  * (at your option) any later version.
13
  *
14
  * This program is distributed in the hope that it will be useful, but
15
  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
16
  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
17
  * for more details.
18
  *
19
  * You should have received a copy of the GNU General Public License along
20
  * with this program. If not, see <http://www.gnu.org/licenses/>.
21
  */
22

    
23

    
24
#ifndef ASSISTANT_H
25
#define ASSISTANT_H
26

    
27
#include <QWizard>
28
#include <QFtp>
29
#include <QDebug>
30
#include <QDir>
31
#include <QTimer>
32
#include <QSettings>
33
#include "tools.h"
34
#include "abuleduapplicationv1.h"
35

    
36
namespace Ui {
37
class Assistant;
38
}
39

    
40
class Assistant : public QWizard
41
{
42
    Q_OBJECT
43

    
44
public:
45
    explicit Assistant(QWidget *parent = 0);
46
    ~Assistant();
47

    
48
private slots:
49
    void on_btnUploadPHP_clicked();
50
    void updateProgressFichier(int total, int current, QString fileName);
51
    void updateProgressData(int total, int current);
52
    void uploadEnd();
53

    
54
private:
55
    Ui::Assistant *ui;
56
    tools *m_tools;
57
    QString m_currentProjectDir;
58
    QString m_typeUploadRecursif;
59
    QStringList m_fileListToUploadIndex;
60
    QMap<QString,QString> m_fileListToUpload;
61
    int m_currentProjectPictureNumber;
62
    int m_currentFTPFileUpload;
63

    
64
};
65

    
66
#endif // ASSISTANT_H
Redmine Appliance - Powered by TurnKey Linux