summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/NetworkDialog.h
Side-by-side diff
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
@@ -9,76 +9,76 @@
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
* *
***************************************************************************/
#ifndef NETWORKDIALOG_H
#define NETWORKDIALOG_H
#include <qdialog.h>
#include <qurloperator.h>
#include <qcstring.h>
#include <qfile.h>
#include <qlayout.h>
#include <qlabel.h>
#include <qpushbutton.h>
#include <qstringlist.h>
//#include <qtimer.h>
//class QProgressBar;
class NetworkDialog : public QDialog
-{
+{
Q_OBJECT
public:
NetworkDialog( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0, const QStringList netList=0);
/* 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); */
~NetworkDialog();
-
+
QFile fiole;
QTimer * connectionTimer;
QTimer * timer;
int timerProgess;
- bool posTimer;
+ bool posTimer;
QString s_partialFileName, s_finally;
bool foundIt, successDownload;
QLabel * warnLabel;
QLabel* TextLabel3;
QPushButton* buttonHelp;
bool ok;
QString local_library;
QString ftp_host;
QString ftp_base_dir;
- QString dir, strUrl, networkUrl;
-
- QPushButton* buttonOk;
+ QString dir, strUrl, networkUrl;
+
+// QPushButton* buttonOk;
QPushButton* buttonCancel;
QString localFileName;
bool fileFound;
int i, totalBytesDownloaded;
bool autoOk;
void initDialog();
protected:
QHBoxLayout* hbox;
private slots:
bool downloadFile( QString strUrl);
void connectionTimeSlot();
void timeSlot();
void doOk();
-
+
private:
/* #ifndef Q_WS_QWS */
/* QString getOpenFileName(); */
/* QUrlOperator op; */
/* #endif */
};
#endif // NETWORKDIALOG_H