blob: f573d84333ceb6fcc403df5850ff5b2285c710fe (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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
|