kpilot

actions.h

Go to the documentation of this file.
00001 #ifndef _KPILOT_ACTIONS_H
00002 #define _KPILOT_ACTIONS_H
00003 /*
00004 **
00005 ** Copyright (C) 1998-2001,2003 by Dan Pilone
00006 ** Copyright (C) 2003-2004 Reinhold Kainhofer <reinhold@kainhofer.com>
00007 ** Copyright (C) 2006 Adriaan de Groot <groot@kde.org>
00008 **
00009 */
00010 
00011 /*
00012 ** This program is free software; you can redistribute it and/or modify
00013 ** it under the terms of the GNU General Public License as published by
00014 ** the Free Software Foundation; either version 2 of the License, or
00015 ** (at your option) any later version.
00016 **
00017 ** This program is distributed in the hope that it will be useful,
00018 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
00019 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00020 ** GNU General Public License for more details.
00021 **
00022 ** You should have received a copy of the GNU General Public License
00023 ** along with this program in a file called COPYING; if not, write to
00024 ** the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
00025 ** MA 02110-1301, USA.
00026 */
00027 
00028 /*
00029 ** Bug reports and questions can be sent to kde-pim@kde.org
00030 */
00031 
00032 #include "syncAction.h"
00033 
00045 KDE_EXPORT class WelcomeAction : public SyncAction
00046 {
00047 public:
00049     WelcomeAction(KPilotLink *);
00050 
00051 protected:
00053     virtual bool exec();
00054 } ;
00055 
00061 KDE_EXPORT class SorryAction : public SyncAction
00062 {
00063 public:
00070     SorryAction(KPilotLink *device, const QString &s=QString::null);
00071 
00072 protected:
00074     virtual bool exec();
00075 
00077     QString fMessage;
00078 } ;
00079 
00087 KDE_EXPORT class CleanupAction : public SyncAction
00088 {
00089 public:
00091     CleanupAction(KPilotLink *device);
00092 
00093 protected:
00095     virtual bool exec();
00096 } ;
00097 
00103 KDE_EXPORT class TestLink : public SyncAction
00104 {
00105 public:
00107     TestLink(KPilotLink *device);
00108 
00109 protected:
00111     virtual bool exec();
00112 } ;
00113 
00114 
00115 #endif