Applets
itemhandlers.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef ITEMHANDLERS_H
00021 #define ITEMHANDLERS_H
00022
00023 #include <QtCore/QObject>
00024
00025 #include "core/urlitemlauncher.h"
00026
00027 namespace Kickoff
00028 {
00029
00030 class ServiceItemHandler : public UrlItemHandler
00031 {
00032 public:
00033 virtual bool openUrl(const KUrl& url);
00034 };
00035 class LeaveItemHandler : public QObject, public UrlItemHandler
00036 {
00037 Q_OBJECT
00038 public:
00039 virtual bool openUrl(const KUrl& url);
00040
00041 private Q_SLOTS:
00042 void logout();
00043 void lock();
00044 void switchUser();
00045
00046 private:
00047 QString m_logoutAction;
00048 };
00049
00050 }
00051
00052 #endif // ITEMHANDLERS_H
00053