summaryrefslogtreecommitdiffstats
path: root/parts/fileselector/fileselector_part.h
blob: 6f96ab5dbdb616c5938e8616eb506e6e449c9d27 (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 <tdefileitem.h>

#include <tqguardedptr.h>

class KDevFileSelector;
class KDialogBase;

class FileSelectorPart : public KDevPlugin
{
    TQ_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<KDevFileSelector> m_filetree;
    TDEAction *m_newFileAction;
};


#endif