summaryrefslogtreecommitdiffstats
path: root/sigmodr/tree/AbilityGroupModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-02-24 00:18:06 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-02-24 00:18:06 -0500
commit160143d7232a46b7709c927f1cd99a6ad537ad1e (patch)
tree063c9c578d2c1e5f60f192be75207da37ad854d8 /sigmodr/tree/AbilityGroupModel.cpp
parent29d5614a7adc53df57e666a8cab40c0dbf5dab0a (diff)
downloadsigen-160143d7232a46b7709c927f1cd99a6ad537ad1e.tar.gz
sigen-160143d7232a46b7709c927f1cd99a6ad537ad1e.tar.xz
sigen-160143d7232a46b7709c927f1cd99a6ad537ad1e.zip
Cleaned up namespacing in sigmodrtree
Diffstat (limited to 'sigmodr/tree/AbilityGroupModel.cpp')
-rw-r--r--sigmodr/tree/AbilityGroupModel.cpp6
1 files changed, 3 insertions, 3 deletions
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())