blob: b89fa98e8cd15bd67034d29c4b8b42a05ddb884b (
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 <tqevent.h>
#include <tqrect.h>
#include <tqstring.h>
#include <string.h>
#include <tdeparts/event.h>
#include <koffice_export.h>
#include "region.h"
namespace KSpread
{
class KSPREAD_EXPORT SelectionChanged : public KParts::Event
{
public:
SelectionChanged( const Region&, const TQString& sheet );
~SelectionChanged();
Region region() const { return m_region; }
TQString sheet() const { return m_sheet; }
static bool test( const TQEvent* e ) { return KParts::Event::test( e, s_strSelectionChanged ); }
private:
static const char *s_strSelectionChanged;
Region m_region;
TQString m_sheet;
};
} // namespace KSpread
#endif
|