foo.h (298B)
1 // Thomas Nagy, 2011-2016 2 3 #ifndef _FOO 4 #define _FOO 5 6 #include <QWidget> 7 #include <QPushButton> 8 9 class Foo : public QWidget { 10 Q_OBJECT 11 signals: 12 void test(); 13 private slots: 14 void handleButton(); 15 public: 16 Foo(); 17 int FortyTwo(); 18 QPushButton *m_button; 19 public: 20 bool myToggle; 21 }; 22 23 #endif