diff options
author | Ben Boeckel <MathStuf@gmail.com> | 2009-03-01 15:42:49 -0500 |
---|---|---|
committer | Ben Boeckel <MathStuf@gmail.com> | 2009-03-01 15:42:49 -0500 |
commit | 211c50f6ca51696b975c85d52283245e3fbefbe1 (patch) | |
tree | 040d1f043ce6d603cb87edd7a446f1deaded7c12 /sigmodr/widgets/EggGroupUI_p.h | |
parent | 1055a9b2d0a4e065812a048a3fe3390b550f3262 (diff) | |
download | sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.tar.gz sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.tar.xz sigen-211c50f6ca51696b975c85d52283245e3fbefbe1.zip |
Add private widget headers
Diffstat (limited to 'sigmodr/widgets/EggGroupUI_p.h')
-rw-r--r-- | sigmodr/widgets/EggGroupUI_p.h | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/sigmodr/widgets/EggGroupUI_p.h b/sigmodr/widgets/EggGroupUI_p.h new file mode 100644 index 00000000..e16869d0 --- /dev/null +++ b/sigmodr/widgets/EggGroupUI_p.h @@ -0,0 +1,56 @@ +/* + * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com> + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * 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, see <http://www.gnu.org/licenses/>. + */ + +#ifndef SIGMODRWIDGETS_EGGGROUPUI_P +#define SIGMODRWIDGETS_EGGGROUPUI_P + +// Header include +#include "EggGroupUI.h" + +// Sigmodr widget includes +#include "ObjectUIPrivate.h" + +// Forward declarations +class KLineEdit; + +namespace Sigmodr +{ +namespace Widgets +{ +class EggGroupUI::Private : public ObjectUIPrivate +{ + Q_OBJECT + + public: + Private(Sigmod::EggGroup* eggGroup); + ~Private(); + + QWidget* makeWidgets(ObjectUI* widget); + + Sigmod::EggGroup* m_eggGroup; + public slots: + void refreshGui(); + void resetGui(); + protected slots: + void nameChanged(const QString& name); + private: + KLineEdit* ui_name; +}; +} +} + +#endif |