New lua versions
[ryzomcore.git] / studio / src / plugins / translation_manager / ftp_selection.h
blob9f8af85ddd2bb860eed4cc3a128397a9498d1a21
1 /*
2 * File: ftp_selection.h
3 * Author: cemycc
5 * Created on July 8, 2011, 4:03 PM
6 */
8 #ifndef FTP_SELECTION_H
9 #define FTP_SELECTION_H
11 #include "ui_ftp_selection.h"
13 #include <QtCore/QObject>
14 #include <QtCore/QUrl>
15 #include <QtGui/QDialog>
16 #include <QtCore/QString>
17 #include <QtGui/QWidget>
18 #include <QtCore/QFile>
19 #include <QtNetwork>
21 namespace TranslationManager
24 class CFtpSelection : public QDialog
26 Q_OBJECT
28 public:
29 CFtpSelection(QWidget *parent = 0);
30 ~CFtpSelection() {}
31 bool status;
32 QFile *file;
34 private Q_SLOTS:
35 void cdToParent();
36 void processItem(QTreeWidgetItem *,int);
37 void ConnectButtonClicked();
38 void DoneButtonClicked();
39 void FtpCommandFinished(int, bool error);
40 void AddToList(const QUrlInfo &urlInfo);
42 private:
43 Ui::FtpSelectionDialog _ui;
44 QFtp *conn;
45 QHash<QString, bool> isDirectory;
46 QString currentPath;
50 #endif /* FTP_SELECTION_H */