kitchensync

part.h
1/*
2 This file is part of KitchenSync.
3
4 Copyright (c) 2005 Tobias Koenig <tokoe@kde.org>
5
6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by
8 the Free Software Foundation; either version 2 of the License, or
9 (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19*/
20
21#ifndef PART_H
22#define PART_H
23
24#include <tdeparts/event.h>
25#include <tdeparts/factory.h>
26#include <tdeparts/part.h>
27
28class TDEAboutData;
29
30class KitchenSyncPart: public KParts::ReadOnlyPart
31{
32 Q_OBJECT
33
34
35 public:
36 KitchenSyncPart( TQWidget *parentWidget, const char *widgetName,
37 TQObject *parent, const char *name, const TQStringList& );
38 virtual ~KitchenSyncPart();
39
40 static TDEAboutData *createAboutData();
41
42 virtual void exit();
43 virtual bool openURL( const KURL &url );
44
45 protected:
46 virtual bool openFile();
47 virtual void guiActivateEvent( KParts::GUIActivateEvent* );
48};
49
50#endif