summaryrefslogtreecommitdiffstats
path: root/examples/qwerty
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qwerty')
-rw-r--r--examples/qwerty/qwerty.cpp4
-rw-r--r--examples/qwerty/qwerty.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/qwerty/qwerty.cpp b/examples/qwerty/qwerty.cpp
index 93dcc2eb8..4d7911271 100644
--- a/examples/qwerty/qwerty.cpp
+++ b/examples/qwerty/qwerty.cpp
@@ -34,7 +34,7 @@ Editor::Editor( TQWidget * parent , const char * name )
m = new TQMenuBar( this, "menu" );
TQPopupMenu * file = new TQPopupMenu();
- Q_CHECK_PTR( file );
+ TQ_CHECK_PTR( file );
m->insertItem( "&File", file );
file->insertItem( "&New", this, SLOT(newDoc()), ALT+Key_N );
@@ -59,7 +59,7 @@ Editor::Editor( TQWidget * parent , const char * name )
rebuildCodecList();
TQPopupMenu * edit = new TQPopupMenu();
- Q_CHECK_PTR( edit );
+ TQ_CHECK_PTR( edit );
m->insertItem( "&Edit", edit );
edit->insertItem( "To &Uppercase", this, SLOT(toUpper()), ALT+Key_U );
diff --git a/examples/qwerty/qwerty.h b/examples/qwerty/qwerty.h
index a20b965c3..efd2202fc 100644
--- a/examples/qwerty/qwerty.h
+++ b/examples/qwerty/qwerty.h
@@ -17,7 +17,7 @@
class Editor : public TQWidget
{
- Q_OBJECT
+ TQ_OBJECT
public:
Editor( TQWidget *parent=0, const char *name="qwerty" );
~Editor();