author | zecke <zecke> | 2004-03-13 20:51:18 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-03-13 20:51:18 (UTC) |
commit | a3304e23c7f8576a4584475ef0cf49d0e588671e (patch) (unidiff) | |
tree | 854fa06307ad13c403a5be06caa2c9da305dd9b6 /noncore/games/zsame/ZSameWidget.cpp | |
parent | 8ff0f6a5875346302d62b52621f9e6189d683dd9 (diff) | |
download | opie-a3304e23c7f8576a4584475ef0cf49d0e588671e.zip opie-a3304e23c7f8576a4584475ef0cf49d0e588671e.tar.gz opie-a3304e23c7f8576a4584475ef0cf49d0e588671e.tar.bz2 |
convert to Opie2 namespace
most of them are only using namespace Opie::Core in the main
remove <qpe/qpetoolbar.h>
Diffstat (limited to 'noncore/games/zsame/ZSameWidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/games/zsame/ZSameWidget.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/games/zsame/ZSameWidget.cpp b/noncore/games/zsame/ZSameWidget.cpp index 3c58c93..4fab0f6 100644 --- a/noncore/games/zsame/ZSameWidget.cpp +++ b/noncore/games/zsame/ZSameWidget.cpp | |||
@@ -31,24 +31,25 @@ | |||
31 | #include <qaction.h> | 31 | #include <qaction.h> |
32 | #include <qmessagebox.h> | 32 | #include <qmessagebox.h> |
33 | 33 | ||
34 | #include <kapplication.h> | 34 | #include <kapplication.h> |
35 | 35 | ||
36 | #include "ZSameWidget.h" | 36 | #include "ZSameWidget.h" |
37 | 37 | ||
38 | static int default_colors=3; | 38 | static int default_colors=3; |
39 | 39 | ||
40 | #define i18n tr | 40 | #define i18n tr |
41 | 41 | ||
42 | 42 | ||
43 | using namespace Opie::Core; | ||
43 | OPIE_EXPORT_APP( OApplicationFactory<ZSameWidget> ) | 44 | OPIE_EXPORT_APP( OApplicationFactory<ZSameWidget> ) |
44 | 45 | ||
45 | 46 | ||
46 | 47 | ||
47 | ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl ) | 48 | ZSameWidget::ZSameWidget( QWidget* parent, const char* name, WFlags fl ) |
48 | : QMainWindow( parent, name, fl ) | 49 | : QMainWindow( parent, name, fl ) |
49 | { | 50 | { |
50 | setCaption(tr("ZSame")); | 51 | setCaption(tr("ZSame")); |
51 | 52 | ||
52 | setToolBarsMovable( false ); | 53 | setToolBarsMovable( false ); |
53 | QToolBar* con = new QToolBar( this ); | 54 | QToolBar* con = new QToolBar( this ); |
54 | con->setHorizontalStretchable( true ); | 55 | con->setHorizontalStretchable( true ); |