X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fprop%2Fproperty.hpp;h=7e547dec5a43444a9a5751b39ea9178b1a12a29a;hb=870ea3dbf35b182e120c5d84ab89bf9cb7691232;hp=77eb9a6a73ec61f36f828775e22fbd3cf1b501d1;hpb=8ada6ef1319fa11fd594a34853967c1f9688913b;p=pulseview.git
diff --git a/pv/prop/property.hpp b/pv/prop/property.hpp
index 77eb9a6..7e547de 100644
--- a/pv/prop/property.hpp
+++ b/pv/prop/property.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_PROPERTY_HPP
@@ -31,6 +30,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
#include
#include
+using std::function;
+
class QWidget;
namespace pv {
@@ -41,8 +42,8 @@ class Property : public QObject
Q_OBJECT;
public:
- typedef std::function Getter;
- typedef std::function Setter;
+ typedef function Getter;
+ typedef function Setter;
protected:
Property(QString name, Getter getter, Setter setter);
@@ -64,7 +65,7 @@ private:
QString name_;
};
-} // prop
-} // pv
+} // namespace prop
+} // namespace pv
#endif // PULSEVIEW_PV_PROP_PROPERTY_HPP