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
807 B

#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
TQ_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