summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/progressloggergui.h
diff options
context:
space:
mode:
authorAntoine Cellerier <dionoea@videolan.org>2007-09-15 22:13:41 +0000
committerAntoine Cellerier <dionoea@videolan.org>2007-09-15 22:13:41 +0000
commit78d7ece5e914c3f307c42aea2dbb36cf33e7d81c (patch)
tree160b5d8260461456c9db3ab9ed275096b44d21de /rbutil/rbutilqt/progressloggergui.h
parent4bcd0fa2d4a64b6c90c5d07b35001e967bd6ec60 (diff)
downloadrockbox-78d7ece5e914c3f307c42aea2dbb36cf33e7d81c.tar.gz
rockbox-78d7ece5e914c3f307c42aea2dbb36cf33e7d81c.tar.bz2
rockbox-78d7ece5e914c3f307c42aea2dbb36cf33e7d81c.zip
Automatically scroll to the last line of the progress logger when adding a new item.
Cosmetics. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14716 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/progressloggergui.h')
-rw-r--r--rbutil/rbutilqt/progressloggergui.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/rbutil/rbutilqt/progressloggergui.h b/rbutil/rbutilqt/progressloggergui.h
index e7ccce8d33..17483150f3 100644
--- a/rbutil/rbutilqt/progressloggergui.h
+++ b/rbutil/rbutilqt/progressloggergui.h
@@ -18,22 +18,22 @@
****************************************************************************/
#ifndef PROGRESSLOGGERGUI_H
#define PROGRESSLOGGERGUI_H
-
+
#include <QtGui>
#include "progressloggerinterface.h"
#include "ui_installprogressfrm.h"
-class ProgressLoggerGui :public ProgressloggerInterface
+class ProgressLoggerGui :public ProgressloggerInterface
{
Q_OBJECT
public:
ProgressLoggerGui(QObject * parent);
-
- virtual void addItem(QString text) ; //adds a string to the list
-
- virtual void addItem(QString text, int flag) ; //adds a string to the list
-
+
+ virtual void addItem(const QString &text); //adds a string to the list
+
+ virtual void addItem(const QString &text, int flag); //adds a string to the list
+
virtual void setProgressValue(int value);
virtual void setProgressMax(int max);
virtual int getProgressMax();
@@ -47,8 +47,8 @@ public slots:
virtual void undoAbort();
virtual void close();
virtual void show();
-
-private:
+
+private:
Ui::InstallProgressFrm dp;
QDialog *downloadProgress;