summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/test/kfontdialog/KFontDialogTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'kdejava/koala/test/kfontdialog/KFontDialogTest.java')
-rw-r--r--kdejava/koala/test/kfontdialog/KFontDialogTest.java38
1 files changed, 19 insertions, 19 deletions
diff --git a/kdejava/koala/test/kfontdialog/KFontDialogTest.java b/kdejava/koala/test/kfontdialog/KFontDialogTest.java
index e1d4a19f..704c2553 100644
--- a/kdejava/koala/test/kfontdialog/KFontDialogTest.java
+++ b/kdejava/koala/test/kfontdialog/KFontDialogTest.java
@@ -5,7 +5,7 @@ import org.kde.koala.*;
/*
$Id$
- Requires the Qt widget libraries, available at no cost at
+ Retquires the Qt widget libraries, available at no cost at
http://www.troll.no
Copyright (C) 1996 Bernd Johannes Wuebben
@@ -64,10 +64,10 @@ public class KFontDialogTest {
aConfig.setGroup( "KFontDialog-test" );
// parameters are Font name, Font Point Size, Font Style, Font Italic
- app.setFont(new QFont("Helvetica",12,QFont.Normal,false));
-// app.setFont(new QFont("Times",18,QFont.Bold,true));
+ app.setFont(new TQFont("Helvetica",12,TQFont.Normal,false));
+// app.setFont(new TQFont("Times",18,TQFont.Bold,true));
- QFont font = aConfig.readFontEntry( "Chosen" );
+ TQFont font = aConfig.readFontEntry( "Chosen" );
int nRet = KFontDialog.getFont(font);
@@ -119,35 +119,35 @@ public class KFontDialogTest {
switch (cs) {
- case QFont.ISO_8859_1 :
+ case TQFont.ISO_8859_1 :
return "ISO_8859_1";
- case QFont.ISO_8859_2 :
+ case TQFont.ISO_8859_2 :
return "ISO_8859_2";
- case QFont.ISO_8859_3 :
+ case TQFont.ISO_8859_3 :
return "ISO_8859_3";
- case QFont.ISO_8859_4 :
+ case TQFont.ISO_8859_4 :
return "ISO_8859_4";
- case QFont.ISO_8859_5 :
+ case TQFont.ISO_8859_5 :
return "ISO_8859_5";
- case QFont.ISO_8859_6 :
+ case TQFont.ISO_8859_6 :
return "ISO_8859_6";
- case QFont.ISO_8859_7 :
+ case TQFont.ISO_8859_7 :
return "ISO_8859_7";
- case QFont.ISO_8859_8 :
+ case TQFont.ISO_8859_8 :
return "ISO_8859_8";
- case QFont.ISO_8859_9 :
+ case TQFont.ISO_8859_9 :
return "ISO_8859_9";
- case QFont.ISO_8859_10 :
+ case TQFont.ISO_8859_10 :
return "ISO_8859_10";
- case QFont.ISO_8859_11 :
+ case TQFont.ISO_8859_11 :
return "ISO_8859_11";
- case QFont.ISO_8859_12 :
+ case TQFont.ISO_8859_12 :
return "ISO_8859_12";
- case QFont.ISO_8859_13 :
+ case TQFont.ISO_8859_13 :
return "ISO_8859_13";
- case QFont.ISO_8859_14 :
+ case TQFont.ISO_8859_14 :
return "ISO_8859_14";
- case QFont.ISO_8859_15 :
+ case TQFont.ISO_8859_15 :
return "ISO_8859_15";
// more should be added