if no proxy type is set default to none.
[Rockbox.git] / rbutil / rbutilqt / progressloggergui.h
blob3b70c966be5b411e8296b1d43467d07b12291f34
1 /***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: progressloggergui.h 14027 2007-07-27 17:42:49Z domonoky $
12 * All files in this archive are subject to the GNU General Public License.
13 * See the file COPYING in the source tree root for full license agreement.
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
18 ****************************************************************************/
19 #ifndef PROGRESSLOGGERGUI_H
20 #define PROGRESSLOGGERGUI_H
22 #include <QtGui>
24 #include "progressloggerinterface.h"
25 #include "ui_installprogressfrm.h"
27 class ProgressLoggerGui :public ProgressloggerInterface
29 Q_OBJECT
30 public:
31 ProgressLoggerGui(QObject * parent);
33 virtual void addItem(QString text) ; //adds a string to the list
35 virtual void addItem(QString text, int flag) ; //adds a string to the list
37 virtual void setProgressValue(int value);
38 virtual void setProgressMax(int max);
39 virtual int getProgressMax();
41 signals:
42 virtual void aborted();
43 virtual void closed();
45 public slots:
46 virtual void abort();
47 virtual void close();
48 virtual void show();
50 private:
51 Ui::InstallProgressFrm dp;
52 QDialog *downloadProgress;
56 #endif