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.
tdevelop/parts/fileselector/fileselector_part.h

42 lines
805 B

#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