25 #ifndef KORGANIZER_PART_H
26 #define KORGANIZER_PART_H
29 #include <tdeparts/part.h>
31 #include <korganizer/mainwindow.h>
48 class StatusBarExtension;
51 class CalendarViewBase;
56 class 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 );
73 virtual bool saveURL();
75 virtual bool saveAsURL( const KURL &kurl );
78 virtual KURL getCurrentURL() const;
80 virtual KXMLGUIFactory *mainGuiFactory() { return factory(); }
81 virtual KXMLGUIClient *mainGuiClient() { return this; }
82 virtual TQWidget *topLevelWidget();
84 virtual TDEActionCollection *getActionCollection() const { return actionCollection(); }
85 virtual void showStatusMessage( const TQString &message );
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
bool view(TQWidget *parent, Attachment *attachment)
|