28 #include "kmailpartIface.h"
30 #include <tdeversion.h>
31 #include <tdeparts/browserextension.h>
32 #include <tdeparts/statusbarextension.h>
33 #include <tdeparts/factory.h>
34 #include <tdeparts/event.h>
35 #include <tdeparts/part.h>
38 #include <tdemacros.h>
42 class KMailStatusBarExtension;
45 namespace KPIM { class StatusbarProgressWidget; }
46 using KPIM::StatusbarProgressWidget;
48 class KMFolderTreeItem;
52 class TDE_EXPORT KMailPart: public KParts::ReadOnlyPart, virtual public KMailPartIface
57 KMailPart(TQWidget *parentWidget, const char *widgetName,
58 TQObject *parent, const char *name, const TQStringList &);
61 TQWidget* parentWidget() const;
63 static TDEAboutData *createAboutData();
66 virtual void save() { }
68 virtual void updateEditMenu() {}
69 void exportFolder( KMFolder* folder );
70 void slotIconChanged( KMFolderTreeItem *fti );
71 void slotNameChanged( KMFolderTreeItem *fti );
74 void textChanged( const TQString& );
75 void iconChanged( const TQPixmap& );
78 virtual bool openFile();
79 virtual void guiActivateEvent(KParts::GUIActivateEvent *e);
83 KMMainWidget *mainWidget;
84 ActionManager *mActionManager;
85 KMailStatusBarExtension *mStatusBar;
86 TQWidget *mParentWidget;
89 class KMailStatusBarExtension : public KParts::StatusBarExtension
92 KMailStatusBarExtension( KMailPart *parent );
94 TDEMainWindow *mainWindow() const;
98 StatusbarProgressWidget *mLittleProgress;
Central point of coordination in KMail.
|