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

#ifndef __TDEVPART_FILESELECTOR_H__
#define __TDEVPART_FILESELECTOR_H__
#include <tdevplugin.h>
#include <kdialogbase.h>
#include <tdefileitem.h>
#include <tqguardedptr.h>
class TDevFileSelector;
class KDialogBase;
class FileSelectorPart : public TDevPlugin
{
Q_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<TDevFileSelector> m_filetree;
TDEAction *m_newFileAction;
};
#endif