summaryrefslogtreecommitdiffstats
path: root/parts/fileselector/fileselector_part.h
blob: 29e535dc1d209c039abcf1b00b8cf69baf423e5b (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 __KDEVPART_FILESELECTOR_H__
#define __KDEVPART_FILESELECTOR_H__

#include <kdevplugin.h>

#include <kdialogbase.h>
#include <kfileitem.h>

#include <tqguardedptr.h>

class KDevFileSelector;
class KDialogBase;

class FileSelectorPart : public KDevPlugin
{
    Q_OBJECT
  
public:
    FileSelectorPart(TQObject *parent, const char *name, const TQStringList &);
    virtual ~FileSelectorPart();

    KAction *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<KDevFileSelector> m_filetree;
    KAction *m_newFileAction;
};


#endif