summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/examples/qwerty
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/examples/qwerty')
-rw-r--r--qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map44
-rw-r--r--qtjava/javalib/examples/qwerty/Editor.java126
-rw-r--r--qtjava/javalib/examples/qwerty/IBM277.map36
-rw-r--r--qtjava/javalib/examples/qwerty/IBM277.txt2
-rw-r--r--qtjava/javalib/examples/qwerty/Main.java4
5 files changed, 106 insertions, 106 deletions
diff --git a/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map b/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map
index 1b7058ec..a9c00534 100644
--- a/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map
+++ b/qtjava/javalib/examples/qwerty/ANSI_X3.110-1983.map
@@ -14,7 +14,7 @@ CHARMAP
<SX> /x02 <U0002> START OF TEXT (STX)
<EX> /x03 <U0003> END OF TEXT (ETX)
<ET> /x04 <U0004> END OF TRANSMISSION (EOT)
-<EQ> /x05 <U0005> ENQUIRY (ENQ)
+<EQ> /x05 <U0005> ENTQUIRY (ENQ)
<AK> /x06 <U0006> ACKNOWLEDGE (ACK)
<BL> /x07 <U0007> BELL (BEL)
<BS> /x08 <U0008> BACKSPACE (BS)
@@ -43,7 +43,7 @@ CHARMAP
<US> /x1F <U001F> UNIT SEPARATOR (IS1)
<SP> /x20 <U0020> SPACE
<!> /x21 <U0021> EXCLAMATION MARK
-<"> /x22 <U0022> QUOTATION MARK
+<"> /x22 <U0022> TQUOTATION MARK
<%> /x25 <U0025> PERCENT SIGN
<&> /x26 <U0026> AMPERSAND
<'> /x27 <U0027> APOSTROPHE
@@ -68,9 +68,9 @@ CHARMAP
<:> /x3A <U003A> COLON
<;> /x3B <U003B> SEMICOLON
<<> /x3C <U003C> LESS-THAN SIGN
-<=> /x3D <U003D> EQUALS SIGN
+<=> /x3D <U003D> ETQUALS SIGN
</>> /x3E <U003E> GREATER-THAN SIGN
-<?> /x3F <U003F> QUESTION MARK
+<?> /x3F <U003F> TQUESTION MARK
<At> /x40 <U0040> COMMERCIAL AT
<A> /x41 <U0041> LATIN CAPITAL LETTER A
<B> /x42 <U0042> LATIN CAPITAL LETTER B
@@ -98,9 +98,9 @@ CHARMAP
<X> /x58 <U0058> LATIN CAPITAL LETTER X
<Y> /x59 <U0059> LATIN CAPITAL LETTER Y
<Z> /x5A <U005A> LATIN CAPITAL LETTER Z
-<<(> /x5B <U005B> LEFT SQUARE BRACKET
+<<(> /x5B <U005B> LEFT STQUARE BRACKET
<////> /x5C <U005C> REVERSE SOLIDUS
-<)/>> /x5D <U005D> RIGHT SQUARE BRACKET
+<)/>> /x5D <U005D> RIGHT STQUARE BRACKET
<'/>> /x5E <U005E> CIRCUMFLEX ACCENT
<_> /x5F <U005F> LOW LINE
<'!> /x60 <U0060> GRAVE ACCENT
@@ -162,7 +162,7 @@ CHARMAP
<SS> /x98 <U0098> START OF STRING (SOS)
<GC> /x99 <U0099> SINGLE GRAPHIC CHARACTER INTRODUCER (SGCI)
<SC> /x9A <U009A> SINGLE CHARACTER INTRODUCER (SCI)
-<CI> /x9B <U009B> CONTROL SEQUENCE INTRODUCER (CSI)
+<CI> /x9B <U009B> CONTROL SETQUENCE INTRODUCER (CSI)
<ST> /x9C <U009C> STRING TERMINATOR (ST)
<OC> /x9D <U009D> OPERATING SYSTEM COMMAND (OSC)
<PM> /x9E <U009E> PRIVACY MESSAGE (PM)
@@ -175,9 +175,9 @@ CHARMAP
<Nb> /xA6 <U0023> NUMBER SIGN
<SE> /xA7 <U00A7> SECTION SIGN
<Cu> /xA8 <U00A4> CURRENCY SIGN
-<'6> /xA9 <U2018> LEFT SINGLE QUOTATION MARK
-<"6> /xAA <U201C> LEFT DOUBLE QUOTATION MARK
-<<<> /xAB <U00AB> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
+<'6> /xA9 <U2018> LEFT SINGLE TQUOTATION MARK
+<"6> /xAA <U201C> LEFT DOUBLE TQUOTATION MARK
+<<<> /xAB <U00AB> LEFT-POINTING DOUBLE ANGLE TQUOTATION MARK
<<-> /xAC <U2190> LEFTWARDS ARROW
<-!> /xAD <U2191> UPWARDS ARROW
<-/>> /xAE <U2192> RIGHTWARDS ARROW
@@ -191,13 +191,13 @@ CHARMAP
<PI> /xB6 <U00B6> PILCROW SIGN
<.M> /xB7 <U00B7> MIDDLE DOT
<-:> /xB8 <U00F7> DIVISION SIGN
-<'9> /xB9 <U2019> RIGHT SINGLE QUOTATION MARK
-<"9> /xBA <U201D> RIGHT DOUBLE QUOTATION MARK
-</>/>> /xBB <U00BB> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
-<14> /xBC <U00BC> VULGAR FRACTION ONE QUARTER
+<'9> /xB9 <U2019> RIGHT SINGLE TQUOTATION MARK
+<"9> /xBA <U201D> RIGHT DOUBLE TQUOTATION MARK
+</>/>> /xBB <U00BB> RIGHT-POINTING DOUBLE ANGLE TQUOTATION MARK
+<14> /xBC <U00BC> VULGAR FRACTION ONE TQUARTER
<12> /xBD <U00BD> VULGAR FRACTION ONE HALF
-<34> /xBE <U00BE> VULGAR FRACTION THREE QUARTERS
-<?I> /xBF <U00BF> INVERTED QUESTION MARK
+<34> /xBE <U00BE> VULGAR FRACTION THREE TQUARTERS
+<?I> /xBF <U00BF> INVERTED TQUESTION MARK
<"!> /xC1 <UE002> NON-SPACING GRAVE ACCENT <ISO-IR-103_C1> (not a real character)
<"'> /xC2 <UE003> NON-SPACING ACUTE ACCENT <ISO-IR-103_C2> (not a real character)
<"/>> /xC3 <UE004> NON-SPACING CIRCUMFLEX ACCENT <ISO-IR-103_C3> (not a real character)
@@ -430,7 +430,7 @@ CHARMAP
<STX> /x02 <U0002> START OF TEXT (STX)
<ETX> /x03 <U0003> END OF TEXT (ETX)
<EOT> /x04 <U0004> END OF TRANSMISSION (EOT)
-<ENQ> /x05 <U0005> ENQUIRY (ENQ)
+<ENQ> /x05 <U0005> ENTQUIRY (ENQ)
<ACK> /x06 <U0006> ACKNOWLEDGE (ACK)
<alert> /x07 <U0007> BELL (BEL)
<BEL> /x07 <U0007> BELL (BEL)
@@ -459,7 +459,7 @@ CHARMAP
<DEL> /x7F <U007F> DELETE (DEL)
<space> /x20 <U0020> SPACE
<exclamation-mark> /x21 <U0021> EXCLAMATION MARK
-<quotation-mark> /x22 <U0022> QUOTATION MARK
+<quotation-mark> /x22 <U0022> TQUOTATION MARK
<number-sign> /xA6 <U0023> NUMBER SIGN
<dollar-sign> /xA4 <U0024> DOLLAR SIGN
<percent-sign> /x25 <U0025> PERCENT SIGN
@@ -489,14 +489,14 @@ CHARMAP
<colon> /x3A <U003A> COLON
<semicolon> /x3B <U003B> SEMICOLON
<less-than-sign> /x3C <U003C> LESS-THAN SIGN
-<equals-sign> /x3D <U003D> EQUALS SIGN
+<equals-sign> /x3D <U003D> ETQUALS SIGN
<greater-than-sign> /x3E <U003E> GREATER-THAN SIGN
-<question-mark> /x3F <U003F> QUESTION MARK
+<question-mark> /x3F <U003F> TQUESTION MARK
<commercial-at> /x40 <U0040> COMMERCIAL AT
-<left-square-bracket> /x5B <U005B> LEFT SQUARE BRACKET
+<left-square-bracket> /x5B <U005B> LEFT STQUARE BRACKET
<backslash> /x5C <U005C> REVERSE SOLIDUS
<reverse-solidus> /x5C <U005C> REVERSE SOLIDUS
-<right-square-bracket> /x5D <U005D> RIGHT SQUARE BRACKET
+<right-square-bracket> /x5D <U005D> RIGHT STQUARE BRACKET
<circumflex> /x5E <U005E> CIRCUMFLEX ACCENT
<circumflex-accent> /x5E <U005E> CIRCUMFLEX ACCENT
<underscore> /x5F <U005F> LOW LINE
diff --git a/qtjava/javalib/examples/qwerty/Editor.java b/qtjava/javalib/examples/qwerty/Editor.java
index ba11c685..3598c144 100644
--- a/qtjava/javalib/examples/qwerty/Editor.java
+++ b/qtjava/javalib/examples/qwerty/Editor.java
@@ -11,13 +11,13 @@
import org.kde.qt.*;
import java.util.ArrayList;
-class Editor extends QWidget
+class Editor extends TQWidget
{
-private QMenuBar m;
-private QMultiLineEdit e;
-private QPrinter printer = new QPrinter();
-private QPopupMenu save_as;
-private QPopupMenu open_as;
+private TQMenuBar m;
+private TQMultiLineEdit e;
+private TQPrinter printer = new TQPrinter();
+private TQPopupMenu save_as;
+private TQPopupMenu open_as;
private boolean changed;
@@ -38,42 +38,42 @@ Editor( )
this(null, null);
}
-Editor( QWidget parent , String name )
+Editor( TQWidget parent , String name )
{
super( parent, name, WDestructiveClose );
- m = new QMenuBar( this, "menu" );
+ m = new TQMenuBar( this, "menu" );
- QPopupMenu file = new QPopupMenu(this);
+ TQPopupMenu file = new TQPopupMenu(this);
m.insertItem( "&File", file );
- file.insertItem( "&New", this, SLOT("newDoc()"), new QKeySequence(ALT+Key_N) );
- file.insertItem( "&Open...", this, SLOT("load()"), new QKeySequence(ALT+Key_O) );
- file.insertItem( "&Save...", this, SLOT("save()"), new QKeySequence(ALT+Key_S) );
+ file.insertItem( "&New", this, SLOT("newDoc()"), new TQKeySequence(ALT+Key_N) );
+ file.insertItem( "&Open...", this, SLOT("load()"), new TQKeySequence(ALT+Key_O) );
+ file.insertItem( "&Save...", this, SLOT("save()"), new TQKeySequence(ALT+Key_S) );
file.insertSeparator();
- open_as = new QPopupMenu(file);
+ open_as = new TQPopupMenu(file);
file.insertItem( "Open &As", open_as );
- save_as = new QPopupMenu(file);
+ save_as = new TQPopupMenu(file);
file.insertItem( "Sa&ve As", save_as );
file.insertItem( "Add &Encoding", this, SLOT("addEncoding()") );
file.insertSeparator();
- file.insertItem( "&Print...", this, SLOT("print()"), new QKeySequence(ALT+Key_P) );
+ file.insertItem( "&Print...", this, SLOT("print()"), new TQKeySequence(ALT+Key_P) );
file.insertSeparator();
- file.insertItem( "&Close", this, SLOT("close()"),new QKeySequence(ALT+Key_W) );
- file.insertItem( "&Quit", qApp(), SLOT("closeAllWindows()"), new QKeySequence(ALT+Key_Q) );
+ file.insertItem( "&Close", this, SLOT("close()"),new TQKeySequence(ALT+Key_W) );
+ file.insertItem( "&Quit", qApp(), SLOT("closeAllWindows()"), new TQKeySequence(ALT+Key_Q) );
connect( save_as, SIGNAL("activated(int)"), this, SLOT("saveAsEncoding(int)") );
connect( open_as, SIGNAL("activated(int)"), this, SLOT("openAsEncoding(int)") );
rebuildCodecList();
- QPopupMenu edit = new QPopupMenu(m);
+ TQPopupMenu edit = new TQPopupMenu(m);
m.insertItem( "&Edit", edit );
- edit.insertItem( "To &Uppercase", this, SLOT("toUpper()"), new QKeySequence(ALT+Key_U) );
- edit.insertItem( "To &Lowercase", this, SLOT("toLower()"), new QKeySequence(ALT+Key_L) );
+ edit.insertItem( "To &Uppercase", this, SLOT("toUpper()"), new TQKeySequence(ALT+Key_U) );
+ edit.insertItem( "To &Lowercase", this, SLOT("toLower()"), new TQKeySequence(ALT+Key_L) );
edit.insertSeparator();
- edit.insertItem( "&Select Font" , this, SLOT("getFont()"), new QKeySequence(ALT+Key_F) );
+ edit.insertItem( "&Select Font" , this, SLOT("getFont()"), new TQKeySequence(ALT+Key_F) );
changed = false;
- e = new QMultiLineEdit( this, "editor" );
+ e = new TQMultiLineEdit( this, "editor" );
connect( e, SIGNAL(" textChanged()"), this, SLOT(" textChanged()") );
// We use Unifont - if you have it installed you'll see all
@@ -82,7 +82,7 @@ Editor( QWidget parent , String name )
// Unifont only comes in one pixel size, so we cannot let
// it change pixel size as the display DPI changes.
//
- QFont unifont = new QFont("unifont",16,50); unifont.setPixelSize(16);
+ TQFont unifont = new TQFont("unifont",16,50); unifont.setPixelSize(16);
e.setFont( unifont );
e.setFocus();
@@ -92,7 +92,7 @@ Editor( QWidget parent , String name )
public void getFont()
{
boolean[] ok = { true };
- QFont f = QFontDialog.getFont( ok, e.font() );
+ TQFont f = TQFontDialog.getFont( ok, e.font() );
if ( ok[0] ) {
e.setFont( f );
}
@@ -103,16 +103,16 @@ public void getFont()
void rebuildCodecList()
{
codecList = new ArrayList();
- QTextCodec codec = null;
+ TQTextCodec codec = null;
int i;
- for (i = 0; (codec = QTextCodec.codecForIndex(i)) != null; i++)
+ for (i = 0; (codec = TQTextCodec.codecForIndex(i)) != null; i++)
codecList.add( codec );
int n = codecList.size();
for (int pm=0; pm<2; pm++) {
- QPopupMenu menu = pm != 0 ? open_as : save_as;
+ TQPopupMenu menu = pm != 0 ? open_as : save_as;
menu.clear();
String local = "Local (";
- local += QTextCodec.codecForLocale().name();
+ local += TQTextCodec.codecForLocale().name();
local += ")";
menu.insertItem( local, Local );
menu.insertItem( "Unicode", Uni );
@@ -121,7 +121,7 @@ void rebuildCodecList()
if ( pm != 0 )
menu.insertItem( "[guess]", Guess );
for ( i = 0; i < n; i++ )
- menu.insertItem( ((QTextCodec) codecList.get(i)).name(), Codec + i );
+ menu.insertItem( ((TQTextCodec) codecList.get(i)).name(), Codec + i );
}
}
@@ -140,7 +140,7 @@ void newDoc()
void load()
{
- String fn = QFileDialog.getOpenFileName( "", "", this );
+ String fn = TQFileDialog.getOpenFileName( "", "", this );
if ( fn != null )
load( fn, -1 );
}
@@ -152,30 +152,30 @@ void load( String fileName )
void load( String fileName, int code )
{
- QFile f = new QFile( fileName );
- if ( !f.open( QIODevice.IO_ReadOnly ) )
+ TQFile f = new TQFile( fileName );
+ if ( !f.open( TQIODevice.IO_ReadOnly ) )
return;
e.setAutoUpdate( false );
- QTextStream t = new QTextStream(f);
+ TQTextStream t = new TQTextStream(f);
if ( code >= Codec )
- t.setCodec( (QTextCodec) codecList.get(code-Codec) );
+ t.setCodec( (TQTextCodec) codecList.get(code-Codec) );
else if ( code == Uni )
- t.setEncoding( QTextStream.Unicode );
+ t.setEncoding( TQTextStream.Unicode );
else if ( code == MBug )
- t.setEncoding( QTextStream.UnicodeReverse );
+ t.setEncoding( TQTextStream.UnicodeReverse );
else if ( code == Lat1 )
- t.setEncoding( QTextStream.Latin1 );
+ t.setEncoding( TQTextStream.Latin1 );
else if ( code == Guess ) {
- f = new QFile(fileName);
- f.open(QIODevice.IO_ReadOnly);
+ f = new TQFile(fileName);
+ f.open(TQIODevice.IO_ReadOnly);
StringBuffer buffer = new StringBuffer();
int l = 256;
l=(int)f.readBlock(buffer,l);
- QTextCodec codec = QTextCodec.codecForContent(buffer.toString(), l);
+ TQTextCodec codec = TQTextCodec.codecForContent(buffer.toString(), l);
if ( codec != null ) {
- QMessageBox.information(this,"Encoding","Codec: "+codec.name());
+ TQMessageBox.information(this,"Encoding","Codec: "+codec.name());
t.setCodec( codec );
}
}
@@ -192,7 +192,7 @@ void load( String fileName, int code )
void openAsEncoding( int code )
{
//storing filename (proper save) is left as an exercise...
- String fn = QFileDialog.getOpenFileName( "", "", this );
+ String fn = TQFileDialog.getOpenFileName( "", "", this );
if ( !fn.equals("") )
load( fn, code );
}
@@ -200,7 +200,7 @@ void openAsEncoding( int code )
boolean save()
{
//storing filename (proper save) is left as an exercise...
- String fn = QFileDialog.getSaveFileName( "", "", this );
+ String fn = TQFileDialog.getSaveFileName( "", "", this );
if ( !fn.equals("") )
return saveAs( fn );
return false;
@@ -209,21 +209,21 @@ boolean save()
void saveAsEncoding( int code )
{
//storing filename (proper save) is left as an exercise...
- String fn = QFileDialog.getSaveFileName( "", "", this );
+ String fn = TQFileDialog.getSaveFileName( "", "", this );
if ( !fn.equals("") )
saveAs( fn, code );
}
void addEncoding()
{
- String fn = QFileDialog.getOpenFileName( "", "*.map", this );
+ String fn = TQFileDialog.getOpenFileName( "", "*.map", this );
if ( !fn.equals("") ) {
- QFile f = new QFile(fn);
- if (f.open(QIODevice.IO_ReadOnly)) {
- if (QTextCodec.loadCharmap(f) != null) {
+ TQFile f = new TQFile(fn);
+ if (f.open(TQIODevice.IO_ReadOnly)) {
+ if (TQTextCodec.loadCharmap(f) != null) {
rebuildCodecList();
} else {
- QMessageBox.warning(null,"Charmap error",
+ TQMessageBox.warning(null,"Charmap error",
"The file did not contain a valid charmap.\n\n"
+ "A charmap file should look like this:\n"
+ " <code_set_name> thename\n"
@@ -248,22 +248,22 @@ boolean saveAs( String fileName )
boolean saveAs( String fileName, int code )
{
- QFile f = new QFile( fileName );
- if ( no_writing || !f.open( QIODevice.IO_WriteOnly ) ) {
- QMessageBox.warning(this,"I/O Error",
+ TQFile f = new TQFile( fileName );
+ if ( no_writing || !f.open( TQIODevice.IO_WriteOnly ) ) {
+ TQMessageBox.warning(this,"I/O Error",
"The file could not be opened.\n\n"
+fileName);
return false;
}
- QTextStream t = new QTextStream(f);
+ TQTextStream t = new TQTextStream(f);
if ( code >= Codec )
- t.setCodec( (QTextCodec) codecList.get(code-Codec) );
+ t.setCodec( (TQTextCodec) codecList.get(code-Codec) );
else if ( code == Uni )
- t.setEncoding( QTextStream.Unicode );
+ t.setEncoding( TQTextStream.Unicode );
else if ( code == MBug )
- t.setEncoding( QTextStream.UnicodeReverse );
+ t.setEncoding( TQTextStream.UnicodeReverse );
else if ( code == Lat1 )
- t.setEncoding( QTextStream.Latin1 );
+ t.setEncoding( TQTextStream.Latin1 );
t.writeRawBytes(e.text(), e.text().length());
f.close();
setCaption( fileName );
@@ -275,11 +275,11 @@ void print()
{
if ( printer.setup(this) ) { // opens printer dialog
printer.setFullPage(true); // we'll set our own margins
- QPainter p = new QPainter();
+ TQPainter p = new TQPainter();
p.begin( printer ); // paint on printer
p.setFont( e.font() );
- QFontMetrics fm = p.fontMetrics();
- QPaintDeviceMetrics metrics = new QPaintDeviceMetrics( printer ); // need width/height
+ TQFontMetrics fm = p.fontMetrics();
+ TQPaintDeviceMetrics metrics = new TQPaintDeviceMetrics( printer ); // need width/height
// of printer surface
int MARGIN = metrics.logicalDpiX() / 2; // half-inch margin
int yPos = MARGIN; // y position for each line
@@ -301,18 +301,18 @@ void print()
}
}
-protected void resizeEvent( QResizeEvent event )
+protected void resizeEvent( TQResizeEvent event )
{
if ( e != null && m != null )
e.setGeometry( 0, m.height(), width(), height() - m.height() );
}
-protected void closeEvent( QCloseEvent event )
+protected void closeEvent( TQCloseEvent event )
{
event.accept();
if ( changed ) { // the text has been changed
- switch ( QMessageBox.warning( this, "Qwerty",
+ switch ( TQMessageBox.warning( this, "Qwerty",
"Save changes to Document?",
tr("&Yes"),
tr("&No"),
diff --git a/qtjava/javalib/examples/qwerty/IBM277.map b/qtjava/javalib/examples/qwerty/IBM277.map
index 51a2472d..e9d40b05 100644
--- a/qtjava/javalib/examples/qwerty/IBM277.map
+++ b/qtjava/javalib/examples/qwerty/IBM277.map
@@ -53,7 +53,7 @@ CHARMAP
<VS> /x2A <U008A> LINE TABULATION SET (VTS)
<PD> /x2B <U008B> PARTIAL LINE FORWARD (PLD)
<PU> /x2C <U008C> PARTIAL LINE BACKWARD (PLU)
-<EQ> /x2D <U0005> ENQUIRY (ENQ)
+<EQ> /x2D <U0005> ENTQUIRY (ENQ)
<AK> /x2E <U0006> ACKNOWLEDGE (ACK)
<BL> /x2F <U0007> BELL (BEL)
<DC> /x30 <U0090> DEVICE CONTROL STRING (DCS)
@@ -67,7 +67,7 @@ CHARMAP
<SS> /x38 <U0098> START OF STRING (SOS)
<GC> /x39 <U0099> SINGLE GRAPHIC CHARACTER INTRODUCER (SGCI)
<SC> /x3A <U009A> SINGLE CHARACTER INTRODUCER (SCI)
-<CI> /x3B <U009B> CONTROL SEQUENCE INTRODUCER (CSI)
+<CI> /x3B <U009B> CONTROL SETQUENCE INTRODUCER (CSI)
<D4> /x3C <U0014> DEVICE CONTROL FOUR (DC4)
<NK> /x3D <U0015> NEGATIVE ACKNOWLEDGE (NAK)
<PM> /x3E <U009E> PRIVACY MESSAGE (PM)
@@ -119,7 +119,7 @@ CHARMAP
<%> /x6C <U0025> PERCENT SIGN
<_> /x6D <U005F> LOW LINE
</>> /x6E <U003E> GREATER-THAN SIGN
-<?> /x6F <U003F> QUESTION MARK
+<?> /x6F <U003F> TQUESTION MARK
<BB> /x70 <U00A6> BROKEN BAR
<E'> /x71 <U00C9> LATIN CAPITAL LETTER E WITH ACUTE
<E/>> /x72 <U00CA> LATIN CAPITAL LETTER E WITH CIRCUMFLEX
@@ -134,8 +134,8 @@ CHARMAP
<AE> /x7B <U00C6> LATIN CAPITAL LETTER AE
<O//> /x7C <U00D8> LATIN CAPITAL LETTER O WITH STROKE
<'> /x7D <U0027> APOSTROPHE
-<=> /x7E <U003D> EQUALS SIGN
-<"> /x7F <U0022> QUOTATION MARK
+<=> /x7E <U003D> ETQUALS SIGN
+<"> /x7F <U0022> TQUOTATION MARK
<At> /x80 <U0040> COMMERCIAL AT
<a> /x81 <U0061> LATIN SMALL LETTER A
<b> /x82 <U0062> LATIN SMALL LETTER B
@@ -146,8 +146,8 @@ CHARMAP
<g> /x87 <U0067> LATIN SMALL LETTER G
<h> /x88 <U0068> LATIN SMALL LETTER H
<i> /x89 <U0069> LATIN SMALL LETTER I
-<<<> /x8A <U00AB> LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
-</>/>> /x8B <U00BB> RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
+<<<> /x8A <U00AB> LEFT-POINTING DOUBLE ANGLE TQUOTATION MARK
+</>/>> /x8B <U00BB> RIGHT-POINTING DOUBLE ANGLE TQUOTATION MARK
<d-> /x8C <U00F0> LATIN SMALL LETTER ETH (Icelandic)
<y'> /x8D <U00FD> LATIN SMALL LETTER Y WITH ACUTE
<th> /x8E <U00FE> LATIN SMALL LETTER THORN (Icelandic)
@@ -166,8 +166,8 @@ CHARMAP
<-o> /x9B <U00BA> MASCULINE ORDINAL INDICATOR
<(!> /x9C <U007B> LEFT CURLY BRACKET
<',> /x9D <U00B8> CEDILLA
-<<(> /x9E <U005B> LEFT SQUARE BRACKET
-<)/>> /x9F <U005D> RIGHT SQUARE BRACKET
+<<(> /x9E <U005B> LEFT STQUARE BRACKET
+<)/>> /x9F <U005D> RIGHT STQUARE BRACKET
<My> /xA0 <U00B5> MICRO SIGN
<u:> /xA1 <U00FC> LATIN SMALL LETTER U WITH DIAERESIS
<s> /xA2 <U0073> LATIN SMALL LETTER S
@@ -179,7 +179,7 @@ CHARMAP
<y> /xA8 <U0079> LATIN SMALL LETTER Y
<z> /xA9 <U007A> LATIN SMALL LETTER Z
<!I> /xAA <U00A1> INVERTED EXCLAMATION MARK
-<?I> /xAB <U00BF> INVERTED QUESTION MARK
+<?I> /xAB <U00BF> INVERTED TQUESTION MARK
<D-> /xAC <U00D0> LATIN CAPITAL LETTER ETH (Icelandic)
<Y'> /xAD <U00DD> LATIN CAPITAL LETTER Y WITH ACUTE
<TH> /xAE <U00DE> LATIN CAPITAL LETTER THORN (Icelandic)
@@ -191,9 +191,9 @@ CHARMAP
<Co> /xB4 <U00A9> COPYRIGHT SIGN
<SE> /xB5 <U00A7> SECTION SIGN
<PI> /xB6 <U00B6> PILCROW SIGN
-<14> /xB7 <U00BC> VULGAR FRACTION ONE QUARTER
+<14> /xB7 <U00BC> VULGAR FRACTION ONE TQUARTER
<12> /xB8 <U00BD> VULGAR FRACTION ONE HALF
-<34> /xB9 <U00BE> VULGAR FRACTION THREE QUARTERS
+<34> /xB9 <U00BE> VULGAR FRACTION THREE TQUARTERS
<NO> /xBA <U00AC> NOT SIGN
<!!> /xBB <U007C> VERTICAL LINE
<'-> /xBC <U203E> OVERLINE
@@ -269,7 +269,7 @@ CHARMAP
<STX> /x02 <U0002> START OF TEXT (STX)
<ETX> /x03 <U0003> END OF TEXT (ETX)
<EOT> /x37 <U0004> END OF TRANSMISSION (EOT)
-<ENQ> /x2D <U0005> ENQUIRY (ENQ)
+<ENQ> /x2D <U0005> ENTQUIRY (ENQ)
<ACK> /x2E <U0006> ACKNOWLEDGE (ACK)
<alert> /x2F <U0007> BELL (BEL)
<BEL> /x2F <U0007> BELL (BEL)
@@ -298,7 +298,7 @@ CHARMAP
<DEL> /x07 <U007F> DELETE (DEL)
<space> /x40 <U0020> SPACE
<exclamation-mark> /x4F <U0021> EXCLAMATION MARK
-<quotation-mark> /x7F <U0022> QUOTATION MARK
+<quotation-mark> /x7F <U0022> TQUOTATION MARK
<number-sign> /x4A <U0023> NUMBER SIGN
<dollar-sign> /x67 <U0024> DOLLAR SIGN
<percent-sign> /x6C <U0025> PERCENT SIGN
@@ -328,14 +328,14 @@ CHARMAP
<colon> /x7A <U003A> COLON
<semicolon> /x5E <U003B> SEMICOLON
<less-than-sign> /x4C <U003C> LESS-THAN SIGN
-<equals-sign> /x7E <U003D> EQUALS SIGN
+<equals-sign> /x7E <U003D> ETQUALS SIGN
<greater-than-sign> /x6E <U003E> GREATER-THAN SIGN
-<question-mark> /x6F <U003F> QUESTION MARK
+<question-mark> /x6F <U003F> TQUESTION MARK
<commercial-at> /x80 <U0040> COMMERCIAL AT
-<left-square-bracket> /x9E <U005B> LEFT SQUARE BRACKET
+<left-square-bracket> /x9E <U005B> LEFT STQUARE BRACKET
<backslash> /xE0 <U005C> REVERSE SOLIDUS
<reverse-solidus> /xE0 <U005C> REVERSE SOLIDUS
-<right-square-bracket> /x9F <U005D> RIGHT SQUARE BRACKET
+<right-square-bracket> /x9F <U005D> RIGHT STQUARE BRACKET
<circumflex> /x5F <U005E> CIRCUMFLEX ACCENT
<circumflex-accent> /x5F <U005E> CIRCUMFLEX ACCENT
<underscore> /x6D <U005F> LOW LINE
diff --git a/qtjava/javalib/examples/qwerty/IBM277.txt b/qtjava/javalib/examples/qwerty/IBM277.txt
index 00cc7b94..57a2edc9 100644
--- a/qtjava/javalib/examples/qwerty/IBM277.txt
+++ b/qtjava/javalib/examples/qwerty/IBM277.txt
@@ -1,5 +1,5 @@
ÁÂÃÄÅ
-%EBFCÐÀHTQRSXUVWŒIÍÎËÏÌjÝE
+%EBFCÐÀHTTQRSXUVWŒIÍÎËÏÌjÝE
%?????
%?????
%?????
diff --git a/qtjava/javalib/examples/qwerty/Main.java b/qtjava/javalib/examples/qwerty/Main.java
index 67cac77e..81bb4d8a 100644
--- a/qtjava/javalib/examples/qwerty/Main.java
+++ b/qtjava/javalib/examples/qwerty/Main.java
@@ -14,7 +14,7 @@ public class Main {
public static void main(String[] args)
{
- QApplication a = new QApplication( args );
+ TQApplication a = new TQApplication( args );
boolean isSmall = Qt.qApp().desktop().size().width() < 450
@@ -23,7 +23,7 @@ public static void main(String[] args)
int i;
for ( i= 0; i<args.length; i++ ) {
Editor e = new Editor();
- e.setCaption("Qt Example - QWERTY");
+ e.setCaption("Qt Example - TQWERTY");
e.load( args[i] );
if ( isSmall ) {
e.showMaximized();