summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/progressloggergui.h
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/progressloggergui.h')
-rw-r--r--rbutil/rbutilqt/progressloggergui.h55
1 files changed, 55 insertions, 0 deletions
diff --git a/rbutil/rbutilqt/progressloggergui.h b/rbutil/rbutilqt/progressloggergui.h
new file mode 100644
index 0000000000..e0f2d9130a
--- /dev/null
+++ b/rbutil/rbutilqt/progressloggergui.h
@@ -0,0 +1,55 @@
1/***************************************************************************
2 * __________ __ ___.
3 * Open \______ \ ____ ____ | | _\_ |__ _______ ___
4 * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5 * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6 * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7 * \/ \/ \/ \/ \/
8 *
9 * Copyright (C) 2007 by Dominik Wenger
10 * $Id: progressloggergui.h 14027 2007-07-27 17:42:49Z domonoky $
11 *
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.
14 *
15 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
16 * KIND, either express or implied.
17 *
18 ****************************************************************************/
19#ifndef PROGRESSLOGGERGUI_H
20#define PROGRESSLOGGERGUI_H
21
22#include <QtGui>
23
24#include "progressloggerinterface.h"
25#include "ui_installprogressfrm.h"
26
27class ProgressLoggerGui :public ProgressloggerInterface
28{
29 Q_OBJECT
30public:
31 ProgressLoggerGui(QObject * parent);
32
33 virtual void addItem(QString text) ; //adds a string to the list
34
35 virtual void setProgressValue(int value);
36 virtual void setProgressMax(int max);
37 virtual int getProgressMax();
38
39signals:
40 virtual void aborted();
41 virtual void closed();
42
43public slots:
44 virtual void abort();
45 virtual void close();
46 virtual void show();
47
48private:
49 Ui::InstallProgressFrm dp;
50 QDialog *downloadProgress;
51
52};
53
54#endif
55