summaryrefslogtreecommitdiffstats
path: root/kspread/kspread_events.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
commit8362bf63dea22bbf6736609b0f49c152f975eb63 (patch)
tree0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kspread/kspread_events.h
downloadkoffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz
koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kspread/kspread_events.h')
-rw-r--r--kspread/kspread_events.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/kspread/kspread_events.h b/kspread/kspread_events.h
new file mode 100644
index 00000000..f573d843
--- /dev/null
+++ b/kspread/kspread_events.h
@@ -0,0 +1,36 @@
+#ifndef KSPREAD_EVENTS
+#define KSPREAD_EVENTS
+
+#include <qevent.h>
+#include <qrect.h>
+#include <qstring.h>
+
+#include <string.h>
+
+#include <kparts/event.h>
+#include <koffice_export.h>
+
+#include "region.h"
+namespace KSpread
+{
+
+class KSPREAD_EXPORT SelectionChanged : public KParts::Event
+{
+public:
+ SelectionChanged( const Region&, const QString& sheet );
+ ~SelectionChanged();
+
+ Region region() const { return m_region; }
+ QString sheet() const { return m_sheet; }
+
+ static bool test( const QEvent* e ) { return KParts::Event::test( e, s_strSelectionChanged ); }
+
+private:
+ static const char *s_strSelectionChanged;
+ Region m_region;
+ QString m_sheet;
+};
+
+} // namespace KSpread
+
+#endif