25#ifndef KORGANIZER_PART_H
26#define KORGANIZER_PART_H
29#include <tdeparts/part.h>
31#include <korganizer/mainwindow.h>
48class StatusBarExtension;
51class CalendarViewBase;
56class KOrganizerPart:
public KParts::ReadOnlyPart,
62 KOrganizerPart( TQWidget *parentWidget,
const char *widgetName,
63 TQObject *parent,
const char *name,
const TQStringList & );
64 virtual ~KOrganizerPart();
66 static TDEAboutData *createAboutData();
71 virtual bool openURL(
const KURL &url,
bool merge =
false );
75 virtual bool saveAsURL(
const KURL &kurl );
87 virtual bool isCurrentlyActivePart();
92 void slotChangeInfo(
Incidence *incidence,
const TQDate & );
95 virtual bool openFile();
98 void startCompleted( TDEProcess * );
103 KParts::StatusBarExtension *mStatusBarExtension;
104 TQWidget *mTopLevelWidget;
107 void textChanged(
const TQString & );
The ActionManager creates all the actions in KOrganizer.
This is the main calendar widget.
interface for main calendar view widget
interface for korganizer main window
virtual bool openURL(const KURL &url, bool merge=false)=0
Load calendar file from URL.
virtual KXMLGUIClient * mainGuiClient()=0
Return XML GUI client of this main window.
virtual bool saveURL()=0
Save calendar file to URL of current calendar.
virtual bool saveAsURL(const KURL &kurl)=0
Save calendar file to URL.
virtual TDEActionCollection * getActionCollection() const =0
Return actionCollection of this main window.
virtual ActionManager * actionManager()=0
Return ActionManager of this main window.
virtual KXMLGUIFactory * mainGuiFactory()=0
Return XML GUI factory of this main window.
virtual KURL getCurrentURL() const =0
Get current URL.
virtual void showStatusMessage(const TQString &message)=0
Show status mesage in status bar.
virtual TQWidget * topLevelWidget()=0
Return widget whcih represents this main window.
virtual void setTitle()=0
Set window title.
bool view(TQWidget *parent, Attachment *attachment)