From 160143d7232a46b7709c927f1cd99a6ad537ad1e Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 24 Feb 2009 00:18:06 -0500 Subject: Cleaned up namespacing in sigmodrtree --- sigmodr/tree/AbilityGroupModel.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sigmodr/tree/AbilityGroupModel.cpp') diff --git a/sigmodr/tree/AbilityGroupModel.cpp b/sigmodr/tree/AbilityGroupModel.cpp index 81ba33a0..ed71a242 100644 --- a/sigmodr/tree/AbilityGroupModel.cpp +++ b/sigmodr/tree/AbilityGroupModel.cpp @@ -41,18 +41,18 @@ Sigmodr::AbilityGroupModel::~AbilityGroupModel() QVariant Sigmodr::AbilityGroupModel::data(const int role) const { - if (role == Sigmodr::BaseModel::ContextMenuRole) + if (role == BaseModel::ContextMenuRole) { KMenu* menu = new KMenu; menu->addAction("&Add Ability", this, SLOT(addObject())); return QVariant::fromValue(menu); } - return Sigmodr::GroupModel::data(role); + return GroupModel::data(role); } bool Sigmodr::AbilityGroupModel::setData(const QVariant& value, int role) { - if (role == Sigmodr::BaseModel::XmlRole) + if (role == BaseModel::XmlRole) { QString data = value.toString(); if (!data.isEmpty()) -- cgit