util
environmentselectionwidget.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef ENVIRONMENTSELECTIONWIDGET_H
00020 #define ENVIRONMENTSELECTIONWIDGET_H
00021
00022 #include <kcombobox.h>
00023 #include "utilexport.h"
00024
00025 namespace KDevelop
00026 {
00027
00052 class KDEVPLATFORMUTIL_EXPORT EnvironmentSelectionWidget : public KComboBox
00053 {
00054 Q_OBJECT
00055 Q_PROPERTY( QString currentProfile READ currentProfile WRITE setCurrentProfile USER true )
00056
00057 public:
00058 explicit EnvironmentSelectionWidget( QWidget *parent = 0 );
00059 ~EnvironmentSelectionWidget();
00060
00066 QString currentProfile() const;
00067
00072 void setCurrentProfile( const QString& text );
00073
00074 private:
00075 class EnvironmentSelectionWidgetPrivate* const d;
00076 friend class EnvironmentSelectionWidgetPrivate;
00077
00078 };
00079
00080 }
00081
00082 #endif