blob: 06304868d99c3f5060ba5505a5ba731e0ba61e5c (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
#ifndef GUI_H
#define GUI_H
#include <kmainwindow.h>
#include <klistview.h>
#include <tqsplitter.h>
#include <tqdict.h>
#include <dcopobject.h>
#include <kurl.h>
class Renderer;
class Control : public TDEMainWindow
{
Q_OBJECT
public:
Control();
void addCreator(const TQString &title);
public slots:
void save(const KURL &file);
void save();
void saveAs();
void open();
void open(const KURL &file);
protected slots:
void dropEvent(TQDropEvent *e, TQListViewItem *parent, TQListViewItem *pafter);
void currentChanged(TQListViewItem *item);
private:
TQWidget *mRight;
TDEListView *mTree, *mCreatorsList;
TQWidget *mConfigurator;
KURL mCurrentURL;
};
class RendererListView : public TDEListView
{
Q_OBJECT
public:
RendererListView(TQWidget *p);
protected:
virtual bool acceptDrag(TQDropEvent *event) const;
virtual TQDragObject *dragObject() const;
};
#endif
|