1// Example for use of GNU gettext. 2// Copyright (C) 2003 Free Software Foundation, Inc. 3// This file is published under the GNU General Public License. 4 5/* Declare KMainWindow. */ 6#include <kmainwindow.h> 7/* Declare QPushButton. */ 8#include <qpushbutton.h> 9 10// The main window widget. 11 12class HelloMainWindow : public KMainWindow 13{ 14 Q_OBJECT 15public: 16 HelloMainWindow (QWidget * parent = NULL, const char * name = NULL); 17 ~HelloMainWindow (); 18public: 19 QPushButton *button; 20}; 21