summaryrefslogtreecommitdiffstats
path: root/kdevdesigner/shared/uib.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdevdesigner/shared/uib.h')
-rw-r--r--kdevdesigner/shared/uib.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kdevdesigner/shared/uib.h b/kdevdesigner/shared/uib.h
index 0a7063a4..07607328 100644
--- a/kdevdesigner/shared/uib.h
+++ b/kdevdesigner/shared/uib.h
@@ -1,15 +1,15 @@
/**********************************************************************
** Copyright (C) 2000-2002 Trolltech AS. All rights reserved.
**
-** This file is part of Qt Designer.
+** This file is part of TQt Designer.
**
** This file may be distributed and/or modified under the terms of the
** GNU General Public License version 2 as published by the Free Software
** Foundation and appearing in the file LICENSE.GPL included in the
** packaging of this file.
**
-** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition
-** licenses may use this file in accordance with the Qt Commercial License
+** Licensees holding valid TQt Enterprise Edition or TQt Professional Edition
+** licenses may use this file in accordance with the TQt Commercial License
** Agreement provided with the Software.
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
@@ -17,7 +17,7 @@
**
** See http://www.trolltech.com/gpl/ for GPL licensing information.
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
-** information about Qt Commercial License Agreements.
+** information about TQt Commercial License Agreements.
**
** Contact info@trolltech.com if any conditions of this licensing are
** not clear to you.
@@ -29,7 +29,7 @@
#include <tqdatastream.h>
-const Q_UINT32 UibMagic = 0xb77c61d8;
+const TQ_UINT32 UibMagic = 0xb77c61d8;
enum BlockTag { Block_End = '$', Block_Actions = 'A', Block_Buddies = 'B',
Block_Connections = 'C', Block_Functions = 'F',
@@ -101,16 +101,16 @@ inline int UibStrTable::insertCString( const char *cstr )
return i;
}
for ( i = 0; i < len + 1; i++ )
- out << (Q_UINT8) cstr[i];
+ out << (TQ_UINT8) cstr[i];
return nextPos;
}
}
inline int UibStrTable::insertString( const TQString& str )
{
- if ( str.contains('\0') || str[0] == TQChar(0x7f) ) {
+ if ( str.tqcontains('\0') || str[0] == TQChar(0x7f) ) {
int nextPos = table.size();
- out << (Q_UINT8) 0x7f;
+ out << (TQ_UINT8) 0x7f;
out << str;
return nextPos;
} else {
@@ -128,7 +128,7 @@ inline TQString UibStrTable::asString( int offset ) const
{
if ( table[offset] == 0x7f ) {
TQDataStream in( table, IO_ReadOnly );
- in.device()->at( offset + 1 );
+ in.tqdevice()->at( offset + 1 );
TQString str;
in >> str;
return str;