You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
791 B
41 lines
791 B
15 years ago
|
#ifndef __KDEVPART_FILESELECTOR_H__
|
||
|
#define __KDEVPART_FILESELECTOR_H__
|
||
|
|
||
|
#include <kdevplugin.h>
|
||
|
|
||
|
#include <kdialogbase.h>
|
||
|
#include <kfileitem.h>
|
||
|
|
||
|
#include <qguardedptr.h>
|
||
|
|
||
|
class KDevFileSelector;
|
||
|
class KDialogBase;
|
||
|
|
||
|
class FileSelectorPart : public KDevPlugin
|
||
|
{
|
||
|
Q_OBJECT
|
||
|
public:
|
||
|
FileSelectorPart(QObject *parent, const char *name, const QStringList &);
|
||
|
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:
|
||
|
QGuardedPtr<KDevFileSelector> m_filetree;
|
||
|
KAction *m_newFileAction;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|