24 #ifndef SUMMARYVIEW_PART_H
25 #define SUMMARYVIEW_PART_H
27 #include <tqdatetime.h>
30 #include <tdeparts/part.h>
33 #include "dropwidget.h"
43 class PartActivateEvent;
52 class SummaryViewPart : public KParts::ReadOnlyPart
59 const TDEAboutData *aboutData,
60 TQObject *parent = 0, const char *name = 0 );
64 void slotTextChanged();
65 void slotAdjustPalette();
66 void setDate( const TQDate& newDate );
67 void updateSummaries();
70 void textChanged( const TQString& );
73 virtual bool openFile();
74 virtual void partActivateEvent( KParts::PartActivateEvent *event );
79 void summaryWidgetMoved( TQWidget *target, TQWidget *widget, int alignment );
85 TQString widgetName( TQWidget* ) const;
87 TQStringList configModules() const;
89 TQMap<TQString, Kontact::Summary*> mSummaries;
93 TQVBoxLayout *mMainLayout;
94 TQVBoxLayout *mLeftColumn;
95 TQVBoxLayout *mRightColumn;
96 TQLabel *mUsernameLabel;
98 TDEAction *mConfigAction;
100 TQStringList mLeftColumnSummaries;
101 TQStringList mRightColumnSummaries;
This class provides the interface to the Kontact core for the plugins.
|