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
24
25#ifndef BATCHPROGRESSDIALOG_H
26#define BATCHPROGRESSDIALOG_H
27
28// Include files for KDE
29
30#include <kdialogbase.h>
32
33class KListView;
34class KProgress;
35
40namespace KIPI
41{
42
44
53
54class LIBKIPI_EXPORT BatchProgressDialog : public KDialogBase
55{
56Q_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
void reset()
Definition batchprogressdialog.cpp:186
void setProgress(int current, int total)
Definition batchprogressdialog.cpp:193
KListView * m_actionsList
Definition batchprogressdialog.h:70
void addedAction(const QString &text, int type)
Definition batchprogressdialog.cpp:176
KProgress * m_progress
Definition batchprogressdialog.h:71
KIPI::BatchProgressItem * m_item
Definition batchprogressdialog.h:69
BatchProgressDialog(QWidget *parent=0, const QString &caption=QString::null)
Definition batchprogressdialog.cpp:138
Definition batchprogressdialog.cpp:73
#define LIBKIPI_EXPORT
Definition libkipi_export.h:35
Definition batchprogressdialog.cpp:70
ActionMessageType
Definition batchprogressdialog.h:46
@ StartingMessage
Definition batchprogressdialog.h:47
@ ProgressMessage
Definition batchprogressdialog.h:51
@ SuccessMessage
Definition batchprogressdialog.h:48
@ ErrorMessage
Definition batchprogressdialog.h:50
@ WarningMessage
Definition batchprogressdialog.h:49
Definition batchprogressdialog.cpp:132