testlock.h
00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 
00019 
00020 
00021 #ifndef KABC_TESTLOCK_H
00022 #define KABC_TESTLOCK_H
00023 
00024 #include "lock.h"
00025 
00026 #include <qwidget.h>
00027 
00028 class QLabel;
00029 class QListView;
00030 
00031 class LockWidget : public QWidget
00032 {
00033     Q_OBJECT
00034   public:
00035     LockWidget( const QString &identifier );
00036     ~LockWidget();
00037 
00038   protected slots:
00039     void lock();
00040     void unlock();
00041 
00042     void updateLockView();
00043     
00044   private:
00045     KABC::Lock *mLock;
00046 
00047     QLabel *mStatus;
00048     QListView *mLockView;
00049 };
00050 
00051 #endif
 
This file is part of the documentation for kabc Library Version 3.2.0.