parts/fileselector/fileselector_part.h
Go to the documentation of this file.00001 #ifndef __KDEVPART_FILESELECTOR_H__ 00002 #define __KDEVPART_FILESELECTOR_H__ 00003 00004 #include <kdevplugin.h> 00005 00006 #include <kdialogbase.h> 00007 #include <kfileitem.h> 00008 00009 #include <qguardedptr.h> 00010 00011 class KDevFileSelector; 00012 class KDialogBase; 00013 00014 class FileSelectorPart : public KDevPlugin 00015 { 00016 Q_OBJECT 00017 public: 00018 FileSelectorPart(QObject *parent, const char *name, const QStringList &); 00019 virtual ~FileSelectorPart(); 00020 00021 public slots: 00022 // void showTip(); 00023 // void showOnStart(); 00024 // void refresh(); 00025 void fileSelected(const KFileItem *file); 00026 00027 private slots: 00028 void slotProjectOpened(); 00029 void slotConfigWidget( KDialogBase * ); 00030 00031 private: 00032 QGuardedPtr<KDevFileSelector> m_filetree; 00033 }; 00034 00035 00036 #endif