summaryrefslogtreecommitdiffstats
path: root/kolf/editor.h
blob: 4c17d651672118c31cc4b53a7bb0dcdfe6eb7e61 (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
37
38
#ifndef EDITOR_H_INCLUDED
#define EDITOR_H_INCLUDED

#include <tqwidget.h>

#include "game.h"

class TDEListBox;
class TQHBoxLayout;
class TQListBoxItem;
class Config;

class Editor : public TQWidget
{
	TQ_OBJECT
  

public:
	Editor(ObjectList *list, TQWidget * = 0, const char * = 0);

signals:
	void changed();
	void addNewItem(Object *);

public slots:
	void setItem(CanvasItem *);

private slots:
	void listboxExecuted(TQListBoxItem *);

private:
	ObjectList *list;
	TQHBoxLayout *hlayout;
	TDEListBox *listbox;
	Config *config;
};

#endif