summarywidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
#ifndef SUMMARYWIDGET_H
00026
#define SUMMARYWIDGET_H
00027
00028
#include "summary.h"
00029
00030
#include <dcopobject.h>
00031
#include <pilotDaemonDCOP.h>
00032
00033
#include <qmap.h>
00034
#include <qpixmap.h>
00035
#include <qptrlist.h>
00036
#include <qstringlist.h>
00037
#include <qtimer.h>
00038
#include <qwidget.h>
00039
#include <qdatetime.h>
00040
00041
class QGridLayout;
00042
class QLabel;
00043
class KURLLabel;
00044
00045
class SummaryWidget :
public Kontact::
Summary,
public DCOPObject
00046 {
00047 Q_OBJECT
00048 K_DCOP
00049
public:
00050 SummaryWidget(
QWidget *parent,
const char *name = 0 );
00051
virtual ~SummaryWidget();
00052
00053
int summaryHeight()
const {
return 1; }
00054
00055
QStringList configModules() const;
00056
00057 k_dcop:
00058
void refresh( );
00059
00060 private slots:
00061
void updateView();
00062
void showSyncLog( const
QString &filename );
00063
00064 private:
00065
QTimer mTimer;
00066
00067
QLabel*mSyncTimeLabel;
00068 KURLLabel*mShowSyncLogLabel;
00069
QLabel*mPilotUserLabel;
00070
QLabel*mPilotDeviceLabel;
00071
QLabel*mDaemonStatusLabel;
00072
QLabel*mConduitsLabel;
00073
00074
QGridLayout *mLayout;
00075
00076
QDateTime mLastSyncTime;
00077
QString mDaemonStatus;
00078
QStringList mConduits;
00079
QString mSyncLog;
00080
QString mUserName;
00081
QString mPilotDevice;
00082
bool mDCOPSuccess;
00083
00084
bool mStartedDaemon;
00085
bool mShouldStopDaemon;
00086 };
00087
00088 #endif
This file is part of the documentation for kontact Library Version 3.3.0.