doc-conflictdialog.h
00001 #ifndef CONFLICTDIALOG_H
00002 #define CONFLICTDIALOG_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #include <kdialogbase.h>
00032 #include "doc-conduit.h"
00033
00034
00035 class QComboBox;
00036 class QGridLayout;
00037 class QGroupBox;
00038
00039 class QLabel;
00040 class QPushButton;
00041 class QTimer;
00042 class KPilotDeviceLink;
00043
00044
00045 typedef struct conflictEntry {
00046 QLabel*dbname;
00047 QComboBox* resolution;
00048 QPushButton*info;
00049 int index;
00050 bool conflict;
00051 };
00052
00053
00054 class ResolutionDialog : public KDialogBase
00055 {
00056 Q_OBJECT
00057
00058 public:
00059 ResolutionDialog( QWidget* parent=0, const QString& caption=i18n("Resolution Dialog"), syncInfoList*sinfo=0L, KPilotDeviceLink*lnk=0L);
00060 ~ResolutionDialog();
00061
00062 bool hasConflicts;
00063 public slots:
00064 void _tickle();
00065 protected:
00066 QTimer* tickleTimer;
00067 KPilotDeviceLink* fHandle;
00068
00069 protected:
00070 QGroupBox* resolutionGroupBox;
00071 QGridLayout*resolutionGroupBoxLayout;
00072
00073 syncInfoList*syncInfo;
00074 QValueList<conflictEntry> conflictEntries;
00075 QLabel *textLabel1,*textLabel2;
00076
00077 protected slots:
00078 virtual void slotOk();
00079 void slotInfo(int index);
00080
00081 };
00082
00083 #endif // CONFLICTDIALOG_H
This file is part of the documentation for kpilot Library Version 3.2.2.