00001 /* 00002 * GPLv2 zecke@handhelds.org 00003 * No WArranty... 00004 */ 00005 00006 #ifndef PHUNK_FILE_SYSTEM_H 00007 #define PHUNK_FILE_SYSTEM_H 00008 00009 #include <qtoolbutton.h> 00010 #include <qmap.h> 00011 00012 class QPopupMenu; 00013 class StorageInfo; 00014 class PFileSystem : public QToolButton { 00015 Q_OBJECT 00016 public: 00017 PFileSystem( QToolBar* ); 00018 ~PFileSystem(); 00019 00020 signals: 00021 void changeDir( const QString& ); 00022 00023 private slots: 00024 void slotPopUp(); 00025 void slotSelectDir( int ); 00026 void changed(); 00027 00028 private: 00029 QPopupMenu* m_pop; 00030 StorageInfo *m_storage; 00031 QMap<QString, QString> m_dev; 00032 }; 00033 00034 00035 #endif
1.4.2