blob: 80841deb8219256acb852caa56aa83e214570397 (
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
|
#ifndef __TDEVPART_FILESELECTOR_H__
#define __TDEVPART_FILESELECTOR_H__
#include <tdevplugin.h>
#include <kdialogbase.h>
#include <tdefileitem.h>
#include <tqguardedptr.h>
class TDevFileSelector;
class KDialogBase;
class FileSelectorPart : public TDevPlugin
{
Q_OBJECT
public:
FileSelectorPart(TQObject *parent, const char *name, const TQStringList &);
virtual ~FileSelectorPart();
TDEAction *newFileAction() const { return m_newFileAction; }
public slots:
// void showTip();
// void showOnStart();
// void refresh();
void newFile();
void fileSelected(const KFileItem *file);
private slots:
void slotProjectOpened();
void slotConfigWidget( KDialogBase * );
private:
TQGuardedPtr<TDevFileSelector> m_filetree;
TDEAction *m_newFileAction;
};
#endif
|