~ubuntu-branches/ubuntu/trusty/kdepimlibs/trusty

« back to all changes in this revision

Viewing changes to kpimutils/progressindicatorlabel.h

  • Committer: Package Import Robot
  • Author(s): Rohan Garg, Rohan Garg, Philip Muškovac
  • Date: 2013-11-23 17:36:44 UTC
  • mfrom: (1.1.102)
  • Revision ID: package-import@ubuntu.com-20131123173644-p5ow94192ezsny8g
Tags: 4:4.11.80-0ubuntu1
[ Rohan Garg ]
* New upstream beta release
  - Bump akonadi requirement to 1.10.45
  - Update install files
  - Update symbols

[ Philip Muškovac ]
* kdepimlibs-dev/-dbg breaks/replaces kdepim-runtime/-dbg (<< 4:4.11.80)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
  Copyright (c) 2013 Montel Laurent <montel@kde.org>
 
3
 
 
4
  This program is free software; you can redistribute it and/or modify it
 
5
  under the terms of the GNU General Public License, version 2, as
 
6
  published by the Free Software Foundation.
 
7
 
 
8
  This program is distributed in the hope that it will be useful, but
 
9
  WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
11
  General Public License for more details.
 
12
 
 
13
  You should have received a copy of the GNU General Public License along
 
14
  with this program; if not, write to the Free Software Foundation, Inc.,
 
15
  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
 
16
*/
 
17
 
 
18
#ifndef PROGRESSINDICATORLABEL_H
 
19
#define PROGRESSINDICATORLABEL_H
 
20
 
 
21
#include "kpimutils_export.h"
 
22
 
 
23
#include <QWidget>
 
24
namespace KPIMUtils {
 
25
class ProgressIndicatorLabelPrivate;
 
26
class KPIMUTILS_EXPORT ProgressIndicatorLabel : public QWidget
 
27
{
 
28
    Q_OBJECT
 
29
public:
 
30
    /**
 
31
     * @since 4.12
 
32
     */
 
33
    explicit ProgressIndicatorLabel(const QString &labelStr, QWidget *parent = 0);
 
34
    explicit ProgressIndicatorLabel(QWidget *parent = 0);
 
35
    ~ProgressIndicatorLabel();
 
36
 
 
37
    void setActiveLabel(const QString &label);
 
38
 
 
39
public Q_SLOTS:
 
40
    void start();
 
41
    void stop();
 
42
 
 
43
private:
 
44
    friend class ProgressIndicatorLabelPrivate;
 
45
    ProgressIndicatorLabelPrivate * const d;
 
46
};
 
47
}
 
48
 
 
49
#endif // PROGRESSINDICATORLABEL_H