summaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2021-12-09 01:40:38 +0100
committerSlávek Banko <slavek.banko@axis.cz>2021-12-09 02:07:16 +0100
commit347f0b28701932eba7eb063d9093e446b81debae (patch)
treeb6941843b550f83221b13a3b2643b5a95cd428db /example
parent5da5cb1c824c608159126a82011d8a8943b360e0 (diff)
downloadtqscintilla-347f0b28701932eba7eb063d9093e446b81debae.tar.gz
tqscintilla-347f0b28701932eba7eb063d9093e446b81debae.zip
Rename Qt => TQt.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'example')
-rw-r--r--example/CMakeLists.txt4
-rw-r--r--example/README6
-rw-r--r--example/application.cpp10
-rw-r--r--example/application.h8
-rw-r--r--example/application.pro2
5 files changed, 15 insertions, 15 deletions
diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt
index 9512ae3..b59939e 100644
--- a/example/CMakeLists.txt
+++ b/example/CMakeLists.txt
@@ -3,7 +3,7 @@ include_directories(
${CMAKE_CURRENT_BINARY_DIR}
${CMAKE_CURRENT_SOURCE_DIR}
${TQT_INCLUDE_DIRS}
- ${CMAKE_SOURCE_DIR}/qt
+ ${CMAKE_SOURCE_DIR}/tqt
${CMAKE_SOURCE_DIR}/src
)
@@ -20,5 +20,5 @@ tde_add_executable( app AUTOMOC
application.cpp
main.cpp
LINK
- qscintilla-shared
+ tqscintilla-shared
)
diff --git a/example/README b/example/README
index 6ffa2ea..4efbc22 100644
--- a/example/README
+++ b/example/README
@@ -1,9 +1,9 @@
-QSCINTILLA EXAMPLE
+TQSCINTILLA EXAMPLE
This directory contains a port of the standard application example included
-with Qt that uses QScintilla rather than QTextEdit.
+with TQt that uses TQScintilla rather than TQTextEdit.
-To build the example on all platforms, make sure QScintilla is installed and
+To build the example on all platforms, make sure TQScintilla is installed and
then run:
qmake application
diff --git a/example/application.cpp b/example/application.cpp
index 92a7123..b832def 100644
--- a/example/application.cpp
+++ b/example/application.cpp
@@ -29,8 +29,8 @@
#include <tqwhatsthis.h>
#include <tqsimplerichtext.h>
-#include <qextscintilla.h>
-#include <qextscintillaprinter.h>
+#include <tqextscintilla.h>
+#include <tqextscintillaprinter.h>
#include "filesave.xpm"
#include "fileopen.xpm"
@@ -39,7 +39,7 @@
ApplicationWindow::ApplicationWindow()
: TQMainWindow( 0, "example application main window", WDestructiveClose | WGroupLeader )
{
- printer = new QextScintillaPrinter( TQPrinter::HighResolution );
+ printer = new TQextScintillaPrinter( TQPrinter::HighResolution );
TQPixmap openIcon, saveIcon, printIcon;
TQToolBar * fileTools = new TQToolBar( this, "file operations" );
@@ -127,7 +127,7 @@ ApplicationWindow::ApplicationWindow()
help->insertSeparator();
help->insertItem( "What's &This", this, TQT_SLOT(whatsThis()), SHIFT+Key_F1 );
- e = new QextScintilla( this, "editor" );
+ e = new TQextScintilla( this, "editor" );
e->setFocus();
setCentralWidget( e );
statusBar()->message( "Ready", 2000 );
@@ -261,7 +261,7 @@ void ApplicationWindow::about()
{
TQMessageBox::about( this, "TQScintilla Application Example",
"This example demonstrates a simple use of "
- "QextScintilla and QextScintillaPrinter.");
+ "TQextScintilla and TQextScintillaPrinter.");
}
diff --git a/example/application.h b/example/application.h
index 4be62c7..799e9c0 100644
--- a/example/application.h
+++ b/example/application.h
@@ -13,8 +13,8 @@
#include <tqmainwindow.h>
-class QextScintilla;
-class QextScintillaPrinter;
+class TQextScintilla;
+class TQextScintillaPrinter;
class ApplicationWindow: public TQMainWindow
{
@@ -40,8 +40,8 @@ private slots:
void aboutTQt();
private:
- QextScintillaPrinter *printer;
- QextScintilla *e;
+ TQextScintillaPrinter *printer;
+ TQextScintilla *e;
TQString filename;
};
diff --git a/example/application.pro b/example/application.pro
index 160beaa..af879c2 100644
--- a/example/application.pro
+++ b/example/application.pro
@@ -3,7 +3,7 @@ TARGET = application
CONFIG += qt warn_on release
-LIBS += -lqscintilla
+LIBS += -ltqscintilla
HEADERS = application.h
SOURCES = application.cpp \