summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2004-06-16 09:01:49 (UTC)
committer llornkcor <llornkcor>2004-06-16 09:01:49 (UTC)
commitf1f53eba247de324eabf07d455e00cfd0f453375 (patch) (unidiff)
tree2e4d712cdaeccec57bcaefa6d861fec9964ac418
parent80ca3700b54c886d761cf1cd32a529a558541d5c (diff)
downloadopie-f1f53eba247de324eabf07d455e00cfd0f453375.zip
opie-f1f53eba247de324eabf07d455e00cfd0f453375.tar.gz
opie-f1f53eba247de324eabf07d455e00cfd0f453375.tar.bz2
unneeded stuff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/NetworkDialog.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/noncore/apps/opie-gutenbrowser/NetworkDialog.h b/noncore/apps/opie-gutenbrowser/NetworkDialog.h
index 61595a8..583607e 100644
--- a/noncore/apps/opie-gutenbrowser/NetworkDialog.h
+++ b/noncore/apps/opie-gutenbrowser/NetworkDialog.h
@@ -1,84 +1,82 @@
1/*************************************************************************** 1/***************************************************************************
2 NetworkDialog.h - description 2 NetworkDialog.h - description
3 ------------------- 3 -------------------
4 begin : Sun Aug 27 2000 4 begin : Sun Aug 27 2000
5 copyright : (C) 2000 -2004 by llornkcor 5 copyright : (C) 2000 -2004 by llornkcor
6 email : ljp@llornkcor.com 6 email : ljp@llornkcor.com
7***************************************************************************/ 7***************************************************************************/
8/*************************************************************************** 8/***************************************************************************
9 * * 9 * *
10 * This program is free software; you can redistribute it and/or modify * 10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by * 11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or * 12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. * 13 * (at your option) any later version. *
14 * * 14 * *
15 ***************************************************************************/ 15 ***************************************************************************/
16#ifndef NETWORKDIALOG_H 16#ifndef NETWORKDIALOG_H
17#define NETWORKDIALOG_H 17#define NETWORKDIALOG_H
18 18
19#include <qdialog.h> 19#include <qdialog.h>
20#include <qurloperator.h> 20#include <qurloperator.h>
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();
73 void timeSlot();
74 void doOk(); 72 void doOk();
75 73
76 private: 74 private:
77/* #ifndef Q_WS_QWS */ 75/* #ifndef Q_WS_QWS */
78 76
79/* QString getOpenFileName(); */ 77/* QString getOpenFileName(); */
80/* QUrlOperator op; */ 78/* QUrlOperator op; */
81/* #endif */ 79/* #endif */
82}; 80};
83 81
84#endif // NETWORKDIALOG_H 82#endif // NETWORKDIALOG_H