#ifndef TOGGLEBLOCK_HPP #define TOGGLEBLOCK_HPP #include #include "customblock.hpp" namespace CsSettings { class GroupBlock; class GroupBox; class ToggleWidget; class ItemBlock; class ToggleBlock : public CustomBlock { public: explicit ToggleBlock(QWidget *parent = 0); int build (CustomBlockDef &def); private: GroupBox *buildToggleWidgets (GroupBlockDef &def, QString &defaultToggle); }; } #endif // TOGGLEBLOCK_HPP