Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

ryxeo-webphotoalbum-git / assistant.h @ 925ac0ca

Historique | Voir | Annoter | Télécharger (1,64 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 "tools.h"
33
#include "abuleduapplicationv1.h"
34

    
35
namespace Ui {
36
class Assistant;
37
}
38

    
39
class Assistant : public QWizard
40
{
41
    Q_OBJECT
42

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

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

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

    
63
};
64

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