libKipi
batchprogressdialog.h
Go to the documentation of this file.
1 /* ============================================================
2  *
3  * This file is a part of kipi-plugins project
4  * http://www.kipi-plugins.org
5  *
6  * Date : 2004-05-04
7  * Description : Batch progress dialog
8  *
9  * Copyright (C) 2004-2007 by Gilles Caulier <caulier dot gilles at gmail dot com>
10  *
11  * This program is free software; you can redistribute it
12  * and/or modify it under the terms of the GNU General
13  * Public License as published by the Free Software Foundation;
14  * either version 2, or (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19  * GNU General Public License for more details.
20  *
21  * ============================================================ */
22 
25 #ifndef BATCHPROGRESSDIALOG_H
26 #define BATCHPROGRESSDIALOG_H
27 
28 // Include files for KDE
29 
30 #include <kdialogbase.h>
31 #include "libkipi/libkipi_export.h"
32 
33 class KListView;
34 class KProgress;
35 
40 namespace KIPI
41 {
42 
43 class BatchProgressItem;
44 
46 {
52 };
53 
54 class LIBKIPI_EXPORT BatchProgressDialog : public KDialogBase
55 {
56 Q_OBJECT
57 
58  public:
59 
60  BatchProgressDialog( QWidget *parent=0, const QString &caption=QString::null );
62 
63  void addedAction(const QString &text, int type);
64  void reset();
65  void setProgress(int current, int total);
66 
67  protected:
68 
70  KListView *m_actionsList;
71  KProgress *m_progress;
72 
73  private:
74 
75  struct Private;
76  Private* d;
77 };
78 
79 } // NameSpace KIPI
80 
81 #endif // BATCHPROGRESSDIALOG_H
KProgress * m_progress
Definition: batchprogressdialog.h:71
Definition: batchprogressdialog.cpp:132
Definition: batchprogressdialog.h:51
Definition: batchprogressdialog.h:49
Definition: batchprogressdialog.h:54
Definition: batchprogressdialog.cpp:69
#define LIBKIPI_EXPORT
Definition: libkipi_export.h:35
Definition: batchprogressdialog.h:50
KListView * m_actionsList
Definition: batchprogressdialog.h:70
Definition: batchprogressdialog.h:48
Definition: batchprogressdialog.h:47
Definition: batchprogressdialog.cpp:72
ActionMessageType
Definition: batchprogressdialog.h:45
KIPI::BatchProgressItem * m_item
Definition: batchprogressdialog.h:69