diff options
Diffstat (limited to 'gettext-tools/examples/hello-c++-kde/hellowindow.h')
-rw-r--r-- | gettext-tools/examples/hello-c++-kde/hellowindow.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gettext-tools/examples/hello-c++-kde/hellowindow.h b/gettext-tools/examples/hello-c++-kde/hellowindow.h new file mode 100644 index 0000000..6457a48 --- /dev/null +++ b/gettext-tools/examples/hello-c++-kde/hellowindow.h @@ -0,0 +1,20 @@ +// Example for use of GNU gettext. +// Copyright (C) 2003 Free Software Foundation, Inc. +// This file is published under the GNU General Public License. + +/* Declare KMainWindow. */ +#include <kmainwindow.h> +/* Declare QPushButton. */ +#include <qpushbutton.h> + +// The main window widget. + +class HelloMainWindow : public KMainWindow +{ + Q_OBJECT +public: + HelloMainWindow (QWidget * parent = NULL, const char * name = NULL); + ~HelloMainWindow (); +public: + QPushButton *button; +}; |