From ad1fc5fc8eadb9b63e8767e57ac41cbac84f7eb7 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 16 Dec 2011 09:57:30 -0600 Subject: Revert "Rename a number of old tq methods that are no longer tq specific" This reverts commit 9d6927a7d6a543332f828bffedf65eecf6774c6d. --- src/progs/direct/base/direct_18F.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/progs/direct/base/direct_18F.cpp') diff --git a/src/progs/direct/base/direct_18F.cpp b/src/progs/direct/base/direct_18F.cpp index 8c2c371..0ad5533 100644 --- a/src/progs/direct/base/direct_18F.cpp +++ b/src/progs/direct/base/direct_18F.cpp @@ -27,11 +27,11 @@ void Direct::P18F::program(Type type) TQString cmd; switch (type) { case Code: - cmd = TQString("d,C,c,C,c,C,c,Cw%1cw%2X0000,").arg(programHighTime(Code)).arg(programLowTime()); + cmd = TQString("d,C,c,C,c,C,c,Cw%1cw%2X0000,").tqarg(programHighTime(Code)).tqarg(programLowTime()); break; case Erase: pulseEngine("k0,X0000,"); // NOP - cmd = TQString("k0;w%1;w%2;X0000").arg(programHighTime(type)).arg(programLowTime()); + cmd = TQString("k0;w%1;w%2;X0000").tqarg(programHighTime(type)).tqarg(programLowTime()); break; case Eeprom: for (;;) { @@ -41,7 +41,7 @@ void Direct::P18F::program(Type type) BitValue b = get_byte(); if ( !b.bit(1) ) break; // WR bit clear } - cmd = TQString("w%1").arg(programLowTime()); + cmd = TQString("w%1").tqarg(programLowTime()); break; } pulseEngine(cmd); @@ -234,7 +234,7 @@ void Direct::P18F1220::program(Type type) { if ( type==Eeprom ) { pulseEngine("k0,X0000,"); // NOP - TQString cmd = TQString("k0;w%1;w%2;X0000").arg(programHighTime(type)).arg(programLowTime()); + TQString cmd = TQString("k0;w%1;w%2;X0000").tqarg(programHighTime(type)).tqarg(programLowTime()); pulseEngine(cmd); } else P18F::program(type); } -- cgit v1.2.1