summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/NetworkDialog.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/NetworkDialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/NetworkDialog.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/noncore/apps/opie-gutenbrowser/NetworkDialog.h b/noncore/apps/opie-gutenbrowser/NetworkDialog.h
index 447979f..61595a8 100644
--- a/noncore/apps/opie-gutenbrowser/NetworkDialog.h
+++ b/noncore/apps/opie-gutenbrowser/NetworkDialog.h
@@ -21,64 +21,64 @@
21#include <qcstring.h> 21#include <qcstring.h>
22#include <qfile.h> 22#include <qfile.h>
23#include <qlayout.h> 23#include <qlayout.h>
24#include <qlabel.h> 24#include <qlabel.h>
25#include <qpushbutton.h> 25#include <qpushbutton.h>
26#include <qstringlist.h> 26#include <qstringlist.h>
27 27
28//#include <qtimer.h> 28//#include <qtimer.h>
29 29
30//class QProgressBar; 30//class QProgressBar;
31 31
32class NetworkDialog : public QDialog 32class NetworkDialog : public QDialog
33{ 33{
34 Q_OBJECT 34 Q_OBJECT
35 35
36public: 36public:
37 NetworkDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QStringList netList=0); 37 NetworkDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QStringList netList=0);
38/* NetworkDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QString & UrlStr = 0, const QString & dirStr=0,const QString & fileStr=0, const QString & psrtialFile=0); */ 38/* NetworkDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QString & UrlStr = 0, const QString & dirStr=0,const QString & fileStr=0, const QString & psrtialFile=0); */
39 ~NetworkDialog(); 39 ~NetworkDialog();
40 40
41 QFile fiole; 41 QFile fiole;
42 QTimer * connectionTimer; 42 QTimer * connectionTimer;
43 QTimer * timer; 43 QTimer * timer;
44 int timerProgess; 44 int timerProgess;
45 bool posTimer; 45 bool posTimer;
46 QString s_partialFileName, s_finally; 46 QString s_partialFileName, s_finally;
47 bool foundIt, successDownload; 47 bool foundIt, successDownload;
48 QLabel * warnLabel; 48 QLabel * warnLabel;
49 QLabel* TextLabel3; 49 QLabel* TextLabel3;
50 QPushButton* buttonHelp; 50 QPushButton* buttonHelp;
51 bool ok; 51 bool ok;
52 QString local_library; 52 QString local_library;
53 QString ftp_host; 53 QString ftp_host;
54 QString ftp_base_dir; 54 QString ftp_base_dir;
55 QString dir, strUrl, networkUrl; 55 QString dir, strUrl, networkUrl;
56 56
57 QPushButton* buttonOk; 57// QPushButton* buttonOk;
58 QPushButton* buttonCancel; 58 QPushButton* buttonCancel;
59 59
60 QString localFileName; 60 QString localFileName;
61 bool fileFound; 61 bool fileFound;
62 int i, totalBytesDownloaded; 62 int i, totalBytesDownloaded;
63 bool autoOk; 63 bool autoOk;
64 64
65 void initDialog(); 65 void initDialog();
66 66
67protected: 67protected:
68 QHBoxLayout* hbox; 68 QHBoxLayout* hbox;
69 69
70private slots: 70private slots:
71 bool downloadFile( QString strUrl); 71 bool downloadFile( QString strUrl);
72 void connectionTimeSlot(); 72 void connectionTimeSlot();
73 void timeSlot(); 73 void timeSlot();
74 void doOk(); 74 void doOk();
75 75
76 private: 76 private:
77/* #ifndef Q_WS_QWS */ 77/* #ifndef Q_WS_QWS */
78 78
79/* QString getOpenFileName(); */ 79/* QString getOpenFileName(); */
80/* QUrlOperator op; */ 80/* QUrlOperator op; */
81/* #endif */ 81/* #endif */
82}; 82};
83 83
84#endif // NETWORKDIALOG_H 84#endif // NETWORKDIALOG_H