From 03bc485016127d419bbbbc3cfb09e21e8754b383 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 30 Nov 2011 12:33:18 -0600 Subject: Initial automated TQt conversion --- qt/qextscintillamacro.h | 37 +++++++++++++++++++------------------ 1 file changed, 19 insertions(+), 18 deletions(-) (limited to 'qt/qextscintillamacro.h') diff --git a/qt/qextscintillamacro.h b/qt/qextscintillamacro.h index 0c33968..b7dac63 100644 --- a/qt/qextscintillamacro.h +++ b/qt/qextscintillamacro.h @@ -3,35 +3,35 @@ // Copyright (c) 2006 // Riverbank Computing Limited // -// This file is part of QScintilla. +// This file is part of TQScintilla. // -// This copy of QScintilla is free software; you can redistribute it and/or +// This copy of TQScintilla is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License as published by // the Free Software Foundation; either version 2, or (at your option) any // later version. // -// QScintilla is supplied in the hope that it will be useful, but WITHOUT ANY +// TQScintilla is supplied in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License along with -// QScintilla; see the file LICENSE. If not, write to the Free Software +// TQScintilla; see the file LICENSE. If not, write to the Free Software // Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. -#ifndef QEXTSCINTILLAMACRO_H -#define QEXTSCINTILLAMACRO_H +#ifndef TQEXTSCINTILLAMACRO_H +#define TQEXTSCINTILLAMACRO_H -#include -#include -#include +#include +#include +#include -#include +#include -class QString; +class TQString; class QextScintilla; @@ -41,9 +41,10 @@ class QextScintilla; //! Methods are provided to convert convert a macro to and from a textual //! representation so that they can be easily written to and read from //! permanent storage. -class QEXTSCINTILLA_EXPORT QextScintillaMacro : public QObject +class TQEXTSCINTILLA_EXPORT QextScintillaMacro : public TQObject { Q_OBJECT + TQ_OBJECT public: //! Construct a QextScintillaMacro with parent \a parent and name @@ -52,7 +53,7 @@ public: //! Construct a QextScintillaMacro from the printable ASCII //! representation \a asc, with parent \a parent and name \a name. - QextScintillaMacro(const QCString &asc,QextScintilla *parent, + QextScintillaMacro(const TQCString &asc,QextScintilla *parent, const char *name = 0); //! Destroy the QextScintillaMacro instance. @@ -65,14 +66,14 @@ public: //! Returns TRUE if there was no error. //! //! \sa save() - bool load(const QCString &asc); + bool load(const TQCString &asc); //! Return a printable ASCII representation of the macro. It is //! guaranteed that only printable ASCII characters are used and that //! double quote characters will not be used. //! //! \sa load() - QCString save() const; + TQCString save() const; public slots: //! Play the macro. @@ -91,13 +92,13 @@ private: struct Macro { unsigned int msg; unsigned long wParam; - QByteArray text; + TQByteArray text; }; QextScintilla *qsci; - QValueList macro; + TQValueList macro; -#if defined(Q_DISABLE_COPY) +#if defined(TQ_DISABLE_COPY) QextScintillaMacro(const QextScintillaMacro &); QextScintillaMacro &operator=(const QextScintillaMacro &); #endif -- cgit v1.2.3