[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/libs/kross-rework/kross/core
From: Ben Boeckel <mathstuf () gmail ! com>
Date: 2009-07-14 0:46:31
Message-ID: 1247532391.030491.17719.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 996195 by bboeckel:
Add ChildrenInterface to ActionCollection as well as an accessor method
M +8 -1 actioncollection.cpp
M +5 -0 actioncollection.h
--- trunk/playground/libs/kross-rework/kross/core/actioncollection.cpp #996194:996195
@@ -53,7 +53,9 @@
bool enabled;
bool blockupdated;
- Private(ActionCollection* const p) : parent(p) {}
+ ChildrenInterface* cIface;
+
+ Private(ActionCollection* const p) : parent(p), cIface(new ChildrenInterface) {}
};
}
@@ -223,6 +225,11 @@
}
}
+ChildrenInterface* ActionCollection::childObjects() const
+{
+ return d->cIface;
+}
+
void ActionCollection::connectSignals(ActionCollection *collection, bool conn)
{
if ( conn ) {
--- trunk/playground/libs/kross-rework/kross/core/actioncollection.h #996194:996195
@@ -154,6 +154,11 @@
void removeAction(Action* action);
/**
+ * \return children interface for storing objects
+ */
+ ChildrenInterface* childObjects() const;
+
+ /**
* Load child \a Action and \a ActionCollection instances this
* collection has from the \p element .
*
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic