Add a move-generator API.
[tagua/yd.git] / src / actioncollection.cpp
blobcca57677d7e424d571255a53f03250ca09124dcb
1 /*
2 Copyright (c) 2007 Paolo Capriotti <p.capriotti@gmail.com>
3 (c) 2007 Maurizio Monge <maurizio.monge@kdemail.net>
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2 of the License, or
8 (at your option) any later version.
9 */
11 #include "actioncollection.h"
13 #include <QAction>
15 ActionCollection::ActionCollection() { }
17 void ActionCollection::add(QAction* action) {
18 m_actions.append(action);
21 QList<QAction*> ActionCollection::actions() const {
22 return m_actions;