projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement LogicSegment::get_surrounding_edges() and use it
[pulseview.git]
/
pv
/
prop
/
property.cpp
diff --git
a/pv/prop/property.cpp
b/pv/prop/property.cpp
index 798b5f10dee87ecfd12449aea94252083b6f1331..557c2a996d7b766bfedfd046a093315f017d65ae 100644
(file)
--- a/
pv/prop/property.cpp
+++ b/
pv/prop/property.cpp
@@
-14,25
+14,30
@@
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* 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 <http://www.gnu.org/licenses/>.
*/
*/
-#include "property.h"
+#include "property.h
pp
"
namespace pv {
namespace prop {
namespace pv {
namespace prop {
-Property::Property(QString name, Getter getter, Setter setter) :
- _getter(getter),
- _setter(setter),
- _name(name)
+Property::Property(QString name, QString desc, Getter getter, Setter setter) :
+ getter_(getter),
+ setter_(setter),
+ name_(name),
+ desc_(desc)
{
}
const QString& Property::name() const
{
{
}
const QString& Property::name() const
{
- return _name;
+ return name_;
+}
+
+const QString& Property::desc() const
+{
+ return desc_;
}
bool Property::labeled_widget() const
}
bool Property::labeled_widget() const
@@
-40,5
+45,5
@@
bool Property::labeled_widget() const
return false;
}
return false;
}
-}
//
prop
-}
//
pv
+}
// namespace
prop
+}
// namespace
pv