Changeset View
Changeset View
Standalone View
Standalone View
src/browsers/BrowserMessageArea.h
Show All 13 Lines | |||||
14 | * this program. If not, see <http://www.gnu.org/licenses/>. * | 14 | * this program. If not, see <http://www.gnu.org/licenses/>. * | ||
15 | ****************************************************************************************/ | 15 | ****************************************************************************************/ | ||
16 | 16 | | |||
17 | #ifndef BROWSERMESSAGEAREA_H | 17 | #ifndef BROWSERMESSAGEAREA_H | ||
18 | #define BROWSERMESSAGEAREA_H | 18 | #define BROWSERMESSAGEAREA_H | ||
19 | 19 | | |||
20 | #include "core-impl/logger/ProxyLogger.h" | 20 | #include "core-impl/logger/ProxyLogger.h" | ||
21 | #include "statusbar/CompoundProgressBar.h" | 21 | #include "statusbar/CompoundProgressBar.h" | ||
22 | #include "statusbar/KJobProgressBar.h" | ||||
23 | #include "statusbar/NetworkProgressBar.h" | ||||
24 | | ||||
22 | 25 | | |||
23 | #include <QFrame> | 26 | #include <QFrame> | ||
24 | #include <QTimer> | 27 | #include <QTimer> | ||
25 | 28 | | |||
26 | class BrowserMessageArea : public QFrame, public Amarok::Logger | 29 | class BrowserMessageArea : public QFrame, public Amarok::Logger | ||
27 | { | 30 | { | ||
28 | Q_OBJECT | 31 | Q_OBJECT | ||
29 | 32 | | |||
Show All 11 Lines | 33 | public: | |||
41 | virtual void newProgressOperation( KJob *job, const QString &text, QObject *obj, | 44 | virtual void newProgressOperation( KJob *job, const QString &text, QObject *obj, | ||
42 | const char *slot, Qt::ConnectionType type ); | 45 | const char *slot, Qt::ConnectionType type ); | ||
43 | 46 | | |||
44 | virtual void newProgressOperation( QNetworkReply *reply, const QString &text, QObject *obj, | 47 | virtual void newProgressOperation( QNetworkReply *reply, const QString &text, QObject *obj, | ||
45 | const char *slot, Qt::ConnectionType type ); | 48 | const char *slot, Qt::ConnectionType type ); | ||
46 | 49 | | |||
47 | virtual void newProgressOperation( QObject *sender, const QString &text, int maximum, | 50 | virtual void newProgressOperation( QObject *sender, const QString &text, int maximum, | ||
48 | QObject *obj, const char *slot, Qt::ConnectionType type ); | 51 | QObject *obj, const char *slot, Qt::ConnectionType type ); | ||
52 | | ||||
49 | Q_SIGNALS: | 53 | Q_SIGNALS: | ||
50 | void signalLongMessage( const QString & text, MessageType type ); | 54 | void signalLongMessage( const QString & text, MessageType type ); | ||
51 | 55 | | |||
52 | private Q_SLOTS: | 56 | private Q_SLOTS: | ||
53 | void hideProgress(); | 57 | void hideProgress(); | ||
54 | void nextShortMessage(); | 58 | void nextShortMessage(); | ||
55 | void hideLongMessage(); | 59 | void hideLongMessage(); | ||
56 | void slotLongMessage( const QString &text, MessageType type = Information ); | 60 | void slotLongMessage( const QString &text, MessageType type = Information ); | ||
Show All 11 Lines |