X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=inline;f=pv%2Fprop%2Fenum.hpp;h=a397913c72c44ec8ac0782c991ab335179da79d4;hb=e7ab88e3684b4a56a4c3854945371739cb5d9b5f;hp=0ae8a9c65950dace7499d825f4b1d8e98e62a5dc;hpb=c6246dc56ed01d7e99aa65ab88b8c191300b1ebd;p=pulseview.git
diff --git a/pv/prop/enum.hpp b/pv/prop/enum.hpp
index 0ae8a9c..a397913 100644
--- a/pv/prop/enum.hpp
+++ b/pv/prop/enum.hpp
@@ -14,8 +14,7 @@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+ * along with this program; if not, see .
*/
#ifndef PULSEVIEW_PV_PROP_ENUM_HPP
@@ -28,6 +27,9 @@
#include
+using std::pair;
+using std::vector;
+
Q_DECLARE_METATYPE(Glib::VariantBase);
class QComboBox;
@@ -40,7 +42,7 @@ class Enum : public Property
Q_OBJECT;
public:
- Enum(QString name, std::vector > values,
+ Enum(QString name, vector > values,
Getter getter, Setter setter);
virtual ~Enum() = default;
@@ -53,12 +55,12 @@ private Q_SLOTS:
void on_current_item_changed(int);
private:
- const std::vector< std::pair > values_;
+ const vector< pair > values_;
QComboBox *selector_;
};
-} // prop
-} // pv
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_ENUM_HPP