summaryrefslogtreecommitdiffstats
path: root/example/application.h
diff options
context:
space:
mode:
Diffstat (limited to 'example/application.h')
-rw-r--r--example/application.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/example/application.h b/example/application.h
index 6f48d41..a04ed15 100644
--- a/example/application.h
+++ b/example/application.h
@@ -3,7 +3,7 @@
**
** Copyright (C) 1992-2000 Trolltech AS. All rights reserved.
**
-** This file is part of an example program for Qt. This example
+** This file is part of an example program for TQt. This example
** program may be used, distributed and modified without limitation.
**
*****************************************************************************/
@@ -11,37 +11,38 @@
#ifndef APPLICATION_H
#define APPLICATION_H
-#include <qmainwindow.h>
+#include <tqmainwindow.h>
class QextScintilla;
class QextScintillaPrinter;
-class ApplicationWindow: public QMainWindow
+class ApplicationWindow: public TQMainWindow
{
Q_OBJECT
+ TQ_OBJECT
public:
ApplicationWindow();
~ApplicationWindow();
protected:
- void closeEvent( QCloseEvent* );
+ void closeEvent( TQCloseEvent* );
private slots:
void newDoc();
void choose();
- void load( const QString &fileName );
+ void load( const TQString &fileName );
void save();
void saveAs();
void print();
void about();
- void aboutQt();
+ void aboutTQt();
private:
QextScintillaPrinter *printer;
QextScintilla *e;
- QString filename;
+ TQString filename;
};