X-Git-Url: https://vcs.maemo.org/git/?a=blobdiff_plain;f=src%2FUserInterface%2FUtils%2FProgressBar.h;h=bf573cd33a7f5cfebaa4058c7a4d33136986e1de;hb=a58a54b0935c2098c1aadb70f75ac5f420c74769;hp=a247cf3f7517db93b10d6ffe48d87fd7fc06bac0;hpb=c7e1f3b242a6e5d1b381db0b88fad5b79ae72fd4;p=qtmeetings diff --git a/src/UserInterface/Utils/ProgressBar.h b/src/UserInterface/Utils/ProgressBar.h index a247cf3..bf573cd 100755 --- a/src/UserInterface/Utils/ProgressBar.h +++ b/src/UserInterface/Utils/ProgressBar.h @@ -4,6 +4,7 @@ #include class QProgressBar; +class QLabel; //! UserInterface class. /*! @@ -21,9 +22,11 @@ public: * \param aParent Parent object. * \param aText Title string to be set to the progress bar. */ - ProgressBar( const QString &aText, QWidget *aParent = 0 ); + ProgressBar( const QString &aText, bool aCancellable = false, QWidget *aParent = 0 ); //! Destructor. virtual ~ProgressBar(); + + void update( const QString &aMessage ); signals: //! Signal. Emitted if user presses cancel button. @@ -35,6 +38,7 @@ signals: private: QProgressBar *iProgress; + QLabel *iLabel; };