From 347f0b28701932eba7eb063d9093e446b81debae Mon Sep 17 00:00:00 2001 From: Slávek Banko Date: Thu, 9 Dec 2021 01:40:38 +0100 Subject: Rename Qt => TQt. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- example/CMakeLists.txt | 4 ++-- example/README | 6 +++--- example/application.cpp | 10 +++++----- example/application.h | 8 ++++---- example/application.pro | 2 +- 5 files changed, 15 insertions(+), 15 deletions(-) (limited to 'example') 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 #include -#include -#include +#include +#include #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 -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 \ -- cgit v1.2.3