chalk

kis_selection_options.h
1/*
2 * Copyright (c) 2005 Boudewijn Rempt <boud@valdyas.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17 */
18
19#ifndef __KIS_SELECTION_OPTIONS_H__
20#define __KIS_SELECTION_OPTIONS_H__
21
22#include <tqwidget.h>
23
24#include "koffice_export.h"
25
27class WdgSelectionOptions;
28
31class KRITAUI_EXPORT KisSelectionOptions : public TQWidget
32{
33
34 TQ_OBJECT
35
36
37 typedef TQWidget super;
38
39public:
40 KisSelectionOptions( TQWidget *parent, KisCanvasSubject * subject);
41 virtual ~KisSelectionOptions();
42
43 int action();
44
45signals:
46 void actionChanged(int);
47
48public slots:
49 void slotActivated();
50
51private:
52 WdgSelectionOptions * m_page;
53 KisCanvasSubject* m_subject;
54};
55
56#endif
57
KisCanvasSubject is part of the Observer pattern.