kspread_events.h
00001 #ifndef KSPREAD_EVENTS
00002 #define KSPREAD_EVENTS
00003
00004 #include <qevent.h>
00005 #include <qrect.h>
00006 #include <qstring.h>
00007
00008 #include <string.h>
00009
00010 #include <kparts/event.h>
00011 #include <koffice_export.h>
00012
00013 class KSPREAD_EXPORT KSpreadSelectionChanged : public KParts::Event
00014 {
00015 public:
00016 KSpreadSelectionChanged( const QRect&, const QString& sheet );
00017 ~KSpreadSelectionChanged();
00018
00019 QRect rect() const { return m_rect; }
00020 QString sheet() const { return m_sheet; }
00021
00022 static bool test( const QEvent* e ) { return KParts::Event::test( e, s_strSelectionChanged ); }
00023
00024 private:
00025 static const char *s_strSelectionChanged;
00026 QRect m_rect;
00027 QString m_sheet;
00028 };
00029
00030 #endif
This file is part of the documentation for kspread Library Version 1.4.2.