29
29
***************************************************************************/
31
#ifndef __SYNCHRONIZE_DIALOG__
32
#define __SYNCHRONIZE_DIALOG__
31
#ifndef SYNCHRONIZEDIALOG_H
32
#define SYNCHRONIZEDIALOG_H
34
#include <QtGui/QDialog>
35
#include <QtGui/QPushButton>
36
#include <QtGui/QCheckBox>
37
#include <QtGui/QLabel>
38
#include <qprogressbar.h>
34
40
#include "../VFS/vfs.h"
35
41
#include "synchronizer.h"
37
#include <qpushbutton.h>
38
#include <qcheckbox.h>
40
#include <qprogressbar.h>
42
43
class SynchronizeDialog : QDialog
47
SynchronizeDialog( QWidget*, Synchronizer *sync,
48
int, KIO::filesize_t, int, KIO::filesize_t, int, KIO::filesize_t, int);
48
SynchronizeDialog(QWidget*, Synchronizer *sync,
49
int, KIO::filesize_t, int, KIO::filesize_t, int, KIO::filesize_t, int);
49
50
~SynchronizeDialog();
51
inline bool wasSyncronizationStarted() { return syncStarted; }
52
inline bool wasSyncronizationStarted() {
54
57
void startSynchronization();
55
58
void synchronizationFinished();
56
void processedSizes( int, KIO::filesize_t, int, KIO::filesize_t, int, KIO::filesize_t);
59
void processedSizes(int, KIO::filesize_t, int, KIO::filesize_t, int, KIO::filesize_t);
57
60
void pauseOrResume();
58
61
void pauseAccepted();
61
64
QProgressBar *progress;
63
66
QCheckBox *cbRightToLeft;
64
67
QCheckBox *cbLeftToRight;
65
68
QCheckBox *cbDeletable;