summaryrefslogtreecommitdiffstats
path: root/konsole/tests
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 20:16:47 +0000
commit495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 (patch)
treedaabcb652c07b9a17cad88ca50b63a2d91ead4a3 /konsole/tests
parent50001f1757f97510e80cb1990e2f2d5b00144c2a (diff)
downloadtdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.tar.gz
tdebase-495d08bc2db58ee7fc4ea55a7158f2f61b82fc56.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'konsole/tests')
-rw-r--r--konsole/tests/esc.c2
-rw-r--r--konsole/tests/main.c38
-rw-r--r--konsole/tests/vttest.12
3 files changed, 21 insertions, 21 deletions
diff --git a/konsole/tests/esc.c b/konsole/tests/esc.c
index 520946b50..c8837409e 100644
--- a/konsole/tests/esc.c
+++ b/konsole/tests/esc.c
@@ -81,7 +81,7 @@ decswl() { /* Single With Line */
dectst(pn) int pn; { /* Invoke Confidence Test */
brc2(2, pn, 'y');
}
-dsr(pn) int pn; { /* Device Status Report */
+dsr(pn) int pn; { /* Device tqStatus Report */
brc(pn, 'n');
}
ed(pn) int pn; { /* Erase in Display */
diff --git a/konsole/tests/main.c b/konsole/tests/main.c
index c80b0426c..87a288056 100644
--- a/konsole/tests/main.c
+++ b/konsole/tests/main.c
@@ -534,7 +534,7 @@ tst_keyboard() {
- DECKPAM (Keypad Application Mode)
- DECKPNM (Keypad Numeric Mode)
-The standard VT100 keayboard layout:
+The standard VT100 keayboard tqlayout:
UP DN LE RI
@@ -562,7 +562,7 @@ TAB* qQ wW eE rR tT yY uU iI oO pP [{ ]} DEL
char *ledmsg[6], *ledseq[6];
int i, j, okflag;
- int kblayout;
+ int kbtqlayout;
int ckeymode;
int fkeymode;
char kbdc;
@@ -768,10 +768,10 @@ TAB* qQ wW eE rR tT yY uU iI oO pP [{ ]} DEL
};
static char *keyboardmenu[] = {
- "Standard American ASCII layout",
- "Swedish national layout D47",
- "Swedish national layout E47",
- /* add new keyboard layouts here */
+ "Standard American ASCII tqlayout",
+ "Swedish national tqlayout D47",
+ "Swedish national tqlayout E47",
+ /* add new keyboard tqlayouts here */
""
};
@@ -833,16 +833,16 @@ TAB* qQ wW eE rR tT yY uU iI oO pP [{ ]} DEL
ed(2);
cup(5,10);
- println("Choose keyboard layout:");
- kblayout = menu(keyboardmenu);
- if (kblayout) {
- kblayout--;
- for (j = 0; natkeytab[kblayout][j].natc != '\0'; j++) {
+ println("Choose keyboard tqlayout:");
+ kbtqlayout = menu(keyboardmenu);
+ if (kbtqlayout) {
+ kbtqlayout--;
+ for (j = 0; natkeytab[kbtqlayout][j].natc != '\0'; j++) {
for (i = 0; keytab[i].c != '\0'; i++) {
- if (keytab[i].row == natkeytab[kblayout][j].natrow &&
- keytab[i].col == natkeytab[kblayout][j].natcol) {
- keytab[i].c = natkeytab[kblayout][j].natc;
- keytab[i].symbol = natkeytab[kblayout][j].natsymbol;
+ if (keytab[i].row == natkeytab[kbtqlayout][j].natrow &&
+ keytab[i].col == natkeytab[kbtqlayout][j].natcol) {
+ keytab[i].c = natkeytab[kbtqlayout][j].natc;
+ keytab[i].symbol = natkeytab[kbtqlayout][j].natsymbol;
break;
}
}
@@ -1102,7 +1102,7 @@ tst_reports() {
/* Test of:
<ENQ> (AnswerBack Message)
SM RM (Set/Reset Mode) - LineFeed / Newline
- DSR (Device Status Report)
+ DSR (Device tqStatus Report)
DA (Device Attributes)
DECREQTPARM (Request Terminal Parameters)
*/
@@ -1204,7 +1204,7 @@ tst_reports() {
ed(2);
cup(1,1);
- printf("Test of Device Status Report 5 (report terminal status).");
+ printf("Test of Device tqStatus Report 5 (report terminal status).");
cup(2,1);
dsr(5);
report = instr();
@@ -1217,7 +1217,7 @@ tst_reports() {
else printf(" -- Unknown response!");
cup(4,1);
- println("Test of Device Status Report 6 (report cursor position).");
+ println("Test of Device tqStatus Report 6 (report cursor position).");
cup(5,1);
dsr(6);
report = instr();
@@ -1445,7 +1445,7 @@ tst_vt52() {
tst_insdel() {
/* Test of:
- SM/RM(4) (= IRM (Insertion/replacement mode))
+ SM/RM(4) (= IRM (Insertion/tqreplacement mode))
ICH (Insert Character)
DCH (Delete character)
IL (Insert line)
diff --git a/konsole/tests/vttest.1 b/konsole/tests/vttest.1
index c4104925d..af0558cd9 100644
--- a/konsole/tests/vttest.1
+++ b/konsole/tests/vttest.1
@@ -9,5 +9,5 @@ is a program designed to test the functionality of a VT100 terminal
(or emulator thereof).
It tests both display (escape sequence handling) and keyboard.
.PP
-The program is menu\-driven and contains full on\-line operating
+The program is menu\-driven and tqcontains full on\-line operating
instructions.