summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib')
-rw-r--r--qtjava/javalib/examples/iconview/ListenDND.java10
-rw-r--r--qtjava/javalib/examples/widgets/WidgetView.java10
-rw-r--r--qtjava/javalib/org/kde/qt/Qt.java70
-rw-r--r--qtjava/javalib/qtjava/Qt.cpp50
-rw-r--r--qtjava/javalib/test/AppWizardBase.java4
-rw-r--r--qtjava/javalib/test/FilePropsPageBase.java4
-rw-r--r--qtjava/javalib/test/Foo.java4
-rw-r--r--qtjava/javalib/tutorial/t10/LCDRange.java2
-rw-r--r--qtjava/javalib/tutorial/t11/LCDRange.java2
-rw-r--r--qtjava/javalib/tutorial/t12/LCDRange.java2
-rw-r--r--qtjava/javalib/tutorial/t13/LCDRange.java2
-rw-r--r--qtjava/javalib/tutorial/t14/LCDRange.java2
-rw-r--r--qtjava/javalib/tutorial/t8/LCDRange.java2
-rw-r--r--qtjava/javalib/tutorial/t9/LCDRange.java2
14 files changed, 83 insertions, 83 deletions
diff --git a/qtjava/javalib/examples/iconview/ListenDND.java b/qtjava/javalib/examples/iconview/ListenDND.java
index e6bec795..c3ee925f 100644
--- a/qtjava/javalib/examples/iconview/ListenDND.java
+++ b/qtjava/javalib/examples/iconview/ListenDND.java
@@ -17,18 +17,18 @@ public ListenDND( TQWidget w )
{view = w;}
void dropped( TQDropEvent mime ) {
- qDebug( "Dropped Mimesource {0} into the view {1}", new Object[] { mime, view } );
- qDebug( " Formats:" );
+ tqDebug( "Dropped Mimesource {0} into the view {1}", new Object[] { mime, view } );
+ tqDebug( " Formats:" );
int i = 0;
String str = mime.format( i );
- qDebug( " " + str );
+ tqDebug( " " + str );
while ( str != null ) {
- qDebug( " " + str );
+ tqDebug( " " + str );
str = mime.format( ++i );
}
};
void moved() {
- qDebug( "All selected items were moved to another widget" );
+ tqDebug( "All selected items were moved to another widget" );
}
protected TQWidget view;
diff --git a/qtjava/javalib/examples/widgets/WidgetView.java b/qtjava/javalib/examples/widgets/WidgetView.java
index 77382908..f8261edf 100644
--- a/qtjava/javalib/examples/widgets/WidgetView.java
+++ b/qtjava/javalib/examples/widgets/WidgetView.java
@@ -794,21 +794,21 @@ void dummy()
void selectionChanged()
{
- //qDebug("selectionChanged");
+ //tqDebug("selectionChanged");
}
void selectionChanged( TQListViewItem item)
{
- //qDebug("selectionChanged %p", item );
+ //tqDebug("selectionChanged %p", item );
}
void clicked( TQListViewItem item )
{
- //qDebug("clicked %p", item );
+ //tqDebug("clicked %p", item );
}
void mySelectionChanged( TQListViewItem item )
{
- //qDebug("mySelectionChanged %p", item );
+ //tqDebug("mySelectionChanged %p", item );
}
void showProperties()
@@ -824,6 +824,6 @@ void showProperties()
+ " (read-" + (p.writable() ? "write" : "only") + ", " + p.type() + ")";
output += tmp;
}
- qDebug( output );
+ tqDebug( output );
}
}
diff --git a/qtjava/javalib/org/kde/qt/Qt.java b/qtjava/javalib/org/kde/qt/Qt.java
index 3c8c8115..886fbb70 100644
--- a/qtjava/javalib/org/kde/qt/Qt.java
+++ b/qtjava/javalib/org/kde/qt/Qt.java
@@ -765,11 +765,11 @@ public class Qt implements QtSupport {
public static native TQDataStream op_write(TQDataStream arg1, TQCursor arg2);
public static native TQDataStream op_read(TQDataStream arg1, TQCursor arg2);
public static native String tqAppName();
- // void qAddPostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
- // void qRemovePostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
- public static native byte[] qCompress(char[] data, int nbytes);
+ // void tqAddPostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
+ // void tqRemovePostRoutine(QtCleanUpFunction arg1); >>>> NOT CONVERTED
+ public static native byte[] tqCompress(char[] data, int nbytes);
public static native byte[] tqUncompress(char[] data, int nbytes);
- public static native byte[] qCompress(byte[] data);
+ public static native byte[] tqCompress(byte[] data);
public static native byte[] tqUncompress(byte[] data);
public static native TQTextStream op_write(TQTextStream arg1, TQDomNode arg2);
public static native TQWMatrix op_mult(TQWMatrix arg1, TQWMatrix arg2);
@@ -879,7 +879,7 @@ public class Qt implements QtSupport {
/** *************************************************
$Id$
- * Definition of qInitNetworkProtocols function.
+ * Definition of tqInitNetworkProtocols function.
* Created : 970521
@@ -913,7 +913,7 @@ public class Qt implements QtSupport {
********************************************** @short $Id: qt/qnetwork.
*/
- public static native void qInitNetworkProtocols();
+ public static native void tqInitNetworkProtocols();
/** **************************************************
TQPointArray stream functions
************************************************** @short TQPointArray stream functions
@@ -965,26 +965,26 @@ public class Qt implements QtSupport {
// TQDataStream& op_read(TQDataStream& arg1,TQGVector& arg2); >>>> NOT CONVERTED
// TQDataStream& op_write(TQDataStream& arg1,const TQGVector& arg2); >>>> NOT CONVERTED
public static native int tqRound(double d);
- public static native String qVersion();
- public static native boolean qSysInfo(int[] wordSize, boolean[] bigEndian);
- public static native boolean qSharedBuild();
- public static native void qSystemWarning(String arg1, int code);
- public static native void qSystemWarning(String arg1);
+ public static native String tqVersion();
+ public static native boolean tqSysInfo(int[] wordSize, boolean[] bigEndian);
+ public static native boolean tqSharedBuild();
+ public static native void tqSystemWarning(String arg1, int code);
+ public static native void tqSystemWarning(String arg1);
// QtMsgHandler qInstallMsgHandler(QtMsgHandler arg1); >>>> NOT CONVERTED
- public static native void qSuppressObsoleteWarnings(boolean arg1);
- public static native void qSuppressObsoleteWarnings();
- public static native void qObsolete(String arg1, String oldfunc, String newfunc);
- public static native void qObsolete(String arg1, String oldfunc);
- public static native void qObsolete(String message);
- public static native String qInstallPath();
- public static native String qInstallPathDocs();
- public static native String qInstallPathHeaders();
- public static native String qInstallPathLibs();
- public static native String qInstallPathBins();
- public static native String qInstallPathPlugins();
- public static native String qInstallPathData();
- public static native String qInstallPathTranslations();
- public static native String qInstallPathSysconf();
+ public static native void tqSuppressObsoleteWarnings(boolean arg1);
+ public static native void tqSuppressObsoleteWarnings();
+ public static native void tqObsolete(String arg1, String oldfunc, String newfunc);
+ public static native void tqObsolete(String arg1, String oldfunc);
+ public static native void tqObsolete(String message);
+ public static native String tqInstallPath();
+ public static native String tqInstallPathDocs();
+ public static native String tqInstallPathHeaders();
+ public static native String tqInstallPathLibs();
+ public static native String tqInstallPathBins();
+ public static native String tqInstallPathPlugins();
+ public static native String tqInstallPathData();
+ public static native String tqInstallPathTranslations();
+ public static native String tqInstallPathSysconf();
public static native TQTextStream op_write(TQTextStream arg1, TQDockArea arg2);
public static native TQTextStream op_read(TQTextStream arg1, TQDockArea arg2);
public static native void bitBlt(TQPaintDeviceInterface dst, int dx, int dy, TQPaintDeviceInterface src, int sx, int sy, int sw, int sh, int arg9, boolean ignoreMask);
@@ -1085,19 +1085,19 @@ public class Qt implements QtSupport {
public static native TQApplication tqApp();
- public static native void qDebug(String message);
- public static void qDebug(String pattern, Object[] arguments) {
- qDebug(MessageFormat.format(pattern, arguments));
+ public static native void tqDebug(String message);
+ public static void tqDebug(String pattern, Object[] arguments) {
+ tqDebug(MessageFormat.format(pattern, arguments));
}
- public static native void qWarning(String message);
- public static void qWarning(String pattern, Object[] arguments) {
- qWarning(MessageFormat.format(pattern, arguments));
+ public static native void tqWarning(String message);
+ public static void tqWarning(String pattern, Object[] arguments) {
+ tqWarning(MessageFormat.format(pattern, arguments));
}
- public static native void qFatal(String message);
- public static void qFatal(String pattern, Object[] arguments) {
- qFatal(MessageFormat.format(pattern, arguments));
+ public static native void tqFatal(String message);
+ public static void tqFatal(String pattern, Object[] arguments) {
+ tqFatal(MessageFormat.format(pattern, arguments));
}
private static String sqeezeOut(String from, char toss) {
@@ -1131,7 +1131,7 @@ public class Qt implements QtSupport {
try {
result = new String(bytes, "UTF-8");
} catch (UnsupportedEncodingException e) {
- qWarning("UTF-8 encoding not supported");
+ tqWarning("UTF-8 encoding not supported");
} finally {
return result;
}
diff --git a/qtjava/javalib/qtjava/Qt.cpp b/qtjava/javalib/qtjava/Qt.cpp
index 86c6b1df..c5f3bf36 100644
--- a/qtjava/javalib/qtjava/Qt.cpp
+++ b/qtjava/javalib/qtjava/Qt.cpp
@@ -1024,7 +1024,7 @@ Java_org_kde_qt_Qt_qCompress___3B(JNIEnv* env, jclass cls, jbyteArray data)
TQByteArray _qbyteArray;
(void) cls;
static TQByteArray* _qbyteArray_data = 0;
- _qbyteArray = ::qCompress((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
+ _qbyteArray = ::tqCompress((const TQByteArray&)*(TQByteArray*) QtSupport::toTQByteArray(env, data, &_qbyteArray_data));
return QtSupport::fromTQByteArray(env, &_qbyteArray);
}
@@ -1034,7 +1034,7 @@ Java_org_kde_qt_Qt_qCompress___3CI(JNIEnv* env, jclass cls, jcharArray data, jin
TQByteArray _qbyteArray;
(void) cls;
static TQByteArray* _qbytearray_data = 0;
- _qbyteArray = ::qCompress((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) nbytes);
+ _qbyteArray = ::tqCompress((const uchar*) QtSupport::toUcharArray(env, data, &_qbytearray_data), (int) nbytes);
return QtSupport::fromTQByteArray(env, &_qbyteArray);
}
@@ -1466,7 +1466,7 @@ Java_org_kde_qt_Qt_qInitNetworkProtocols(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
- ::qInitNetworkProtocols();
+ ::tqInitNetworkProtocols();
return;
}
@@ -1475,7 +1475,7 @@ Java_org_kde_qt_Qt_qInstallPathBins(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathBins();
+ _qstring = ::tqInstallPathBins();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1484,7 +1484,7 @@ Java_org_kde_qt_Qt_qInstallPathData(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathData();
+ _qstring = ::tqInstallPathData();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1493,7 +1493,7 @@ Java_org_kde_qt_Qt_qInstallPathDocs(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathDocs();
+ _qstring = ::tqInstallPathDocs();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1502,7 +1502,7 @@ Java_org_kde_qt_Qt_qInstallPathHeaders(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathHeaders();
+ _qstring = ::tqInstallPathHeaders();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1511,7 +1511,7 @@ Java_org_kde_qt_Qt_qInstallPathLibs(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathLibs();
+ _qstring = ::tqInstallPathLibs();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1520,7 +1520,7 @@ Java_org_kde_qt_Qt_qInstallPathPlugins(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathPlugins();
+ _qstring = ::tqInstallPathPlugins();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1529,7 +1529,7 @@ Java_org_kde_qt_Qt_qInstallPathSysconf(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathSysconf();
+ _qstring = ::tqInstallPathSysconf();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1538,7 +1538,7 @@ Java_org_kde_qt_Qt_qInstallPathTranslations(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPathTranslations();
+ _qstring = ::tqInstallPathTranslations();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1547,7 +1547,7 @@ Java_org_kde_qt_Qt_qInstallPath(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qInstallPath();
+ _qstring = ::tqInstallPath();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1574,7 +1574,7 @@ Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2(JNIEnv* env, jclass cls, jstri
{
(void) cls;
static TQCString* _qstring_message = 0;
- ::qObsolete((const char*) QtSupport::toCharString(env, message, &_qstring_message));
+ ::tqObsolete((const char*) QtSupport::toCharString(env, message, &_qstring_message));
return;
}
@@ -1584,7 +1584,7 @@ Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2Ljava_lang_String_2(JNIEnv* env
(void) cls;
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_oldfunc = 0;
- ::qObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc));
+ ::tqObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc));
return;
}
@@ -1595,7 +1595,7 @@ Java_org_kde_qt_Qt_qObsolete__Ljava_lang_String_2Ljava_lang_String_2Ljava_lang_S
static TQCString* _qstring_arg1 = 0;
static TQCString* _qstring_oldfunc = 0;
static TQCString* _qstring_newfunc = 0;
- ::qObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc), (const char*) QtSupport::toCharString(env, newfunc, &_qstring_newfunc));
+ ::tqObsolete((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (const char*) QtSupport::toCharString(env, oldfunc, &_qstring_oldfunc), (const char*) QtSupport::toCharString(env, newfunc, &_qstring_newfunc));
return;
}
@@ -1640,7 +1640,7 @@ Java_org_kde_qt_Qt_qSharedBuild(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
- jboolean xret = (jboolean) ::qSharedBuild();
+ jboolean xret = (jboolean) ::tqSharedBuild();
return xret;
}
@@ -1649,7 +1649,7 @@ Java_org_kde_qt_Qt_qSuppressObsoleteWarnings__(JNIEnv* env, jclass cls)
{
(void) cls;
(void) env;
- ::qSuppressObsoleteWarnings();
+ ::tqSuppressObsoleteWarnings();
return;
}
@@ -1658,7 +1658,7 @@ Java_org_kde_qt_Qt_qSuppressObsoleteWarnings__Z(JNIEnv* env, jclass cls, jboolea
{
(void) cls;
(void) env;
- ::qSuppressObsoleteWarnings((bool) arg1);
+ ::tqSuppressObsoleteWarnings((bool) arg1);
return;
}
@@ -1668,7 +1668,7 @@ Java_org_kde_qt_Qt_qSysInfo(JNIEnv* env, jclass cls, jintArray wordSize, jboolea
(void) cls;
int* _int_wordSize = QtSupport::toIntPtr(env, wordSize);
bool* _bool_bigEndian = QtSupport::toBooleanPtr(env, bigEndian);
- jboolean xret = (jboolean) ::qSysInfo( (int*) _int_wordSize, (bool*) _bool_bigEndian);
+ jboolean xret = (jboolean) ::tqSysInfo( (int*) _int_wordSize, (bool*) _bool_bigEndian);
env->SetIntArrayRegion(wordSize, 0, 1, (jint *) _int_wordSize);
env->SetBooleanArrayRegion(bigEndian, 0, 1, (jboolean*) _bool_bigEndian);
return xret;
@@ -1679,7 +1679,7 @@ Java_org_kde_qt_Qt_qSystemWarning__Ljava_lang_String_2(JNIEnv* env, jclass cls,
{
(void) cls;
static TQCString* _qstring_arg1 = 0;
- ::qSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
+ ::tqSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1));
return;
}
@@ -1688,7 +1688,7 @@ Java_org_kde_qt_Qt_qSystemWarning__Ljava_lang_String_2I(JNIEnv* env, jclass cls,
{
(void) cls;
static TQCString* _qstring_arg1 = 0;
- ::qSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (int) code);
+ ::tqSystemWarning((const char*) QtSupport::toCharString(env, arg1, &_qstring_arg1), (int) code);
return;
}
@@ -1717,7 +1717,7 @@ Java_org_kde_qt_Qt_qVersion(JNIEnv* env, jclass cls)
{
const char* _qstring;
(void) cls;
- _qstring = ::qVersion();
+ _qstring = ::tqVersion();
return QtSupport::fromCharString(env, (char *) _qstring);
}
@@ -1998,7 +1998,7 @@ Java_org_kde_qt_Qt_qDebug(JNIEnv* env, jclass cls, jstring message)
{
static TQCString * _qstring_message = 0;
(void) cls;
- qDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
+ tqDebug("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
return;
}
@@ -2007,7 +2007,7 @@ Java_org_kde_qt_Qt_qWarning(JNIEnv* env, jclass cls, jstring message)
{
static TQCString * _qstring_message = 0;
(void) cls;
- qWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
+ tqWarning("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
return;
}
@@ -2016,7 +2016,7 @@ Java_org_kde_qt_Qt_qFatal(JNIEnv* env, jclass cls, jstring message)
{
static TQCString * _qstring_message = 0;
(void) cls;
- qFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
+ tqFatal("%s", (const char *) QtSupport::toCharString(env, message, &_qstring_message));
return;
}
diff --git a/qtjava/javalib/test/AppWizardBase.java b/qtjava/javalib/test/AppWizardBase.java
index 9cdb47cb..2dbe0e75 100644
--- a/qtjava/javalib/test/AppWizardBase.java
+++ b/qtjava/javalib/test/AppWizardBase.java
@@ -198,12 +198,12 @@ AppWizardBase( TQWidget parent, String name, boolean modal, int fl )
public void slotLoadHeader()
{
- qWarning( "AppWizardBase.slotLoadHeader(): Not implemented yet!" );
+ tqWarning( "AppWizardBase.slotLoadHeader(): Not implemented yet!" );
}
public void slotNewHeader()
{
- qWarning( "AppWizardBase.slotNewHeader(): Not implemented yet!" );
+ tqWarning( "AppWizardBase.slotNewHeader(): Not implemented yet!" );
}
}
diff --git a/qtjava/javalib/test/FilePropsPageBase.java b/qtjava/javalib/test/FilePropsPageBase.java
index ba0a8f9e..076ab62b 100644
--- a/qtjava/javalib/test/FilePropsPageBase.java
+++ b/qtjava/javalib/test/FilePropsPageBase.java
@@ -126,12 +126,12 @@ public FilePropsPageBase( TQWidget parent, String name, int fl )
public void slotSelectionChanged()
{
- qWarning( "FilePropsPageBase.slotSelectionChanged(): Not implemented yet!" );
+ tqWarning( "FilePropsPageBase.slotSelectionChanged(): Not implemented yet!" );
}
public void slotClassnameChanged(java.lang.String string)
{
- qWarning( "FilePropsPageBase.slotClassnameChanged(java.lang.String string): Not implemented yet!" );
+ tqWarning( "FilePropsPageBase.slotClassnameChanged(java.lang.String string): Not implemented yet!" );
}
}
diff --git a/qtjava/javalib/test/Foo.java b/qtjava/javalib/test/Foo.java
index 3d4e5784..19460c6d 100644
--- a/qtjava/javalib/test/Foo.java
+++ b/qtjava/javalib/test/Foo.java
@@ -17,14 +17,14 @@ Foo( TQWidget parent, String name, boolean modal, int fl )
*/
public void slotLoadHeader()
{
- qWarning( "AppWizardBase.slotLoadHeader() not yet implemented!" );
+ tqWarning( "AppWizardBase.slotLoadHeader() not yet implemented!" );
}
/*
* public slot
*/
public void slotNewHeader()
{
- qWarning( "AppWizardBase.slotNewHeader() not yet implemented!" );
+ tqWarning( "AppWizardBase.slotNewHeader() not yet implemented!" );
}
}
diff --git a/qtjava/javalib/tutorial/t10/LCDRange.java b/qtjava/javalib/tutorial/t10/LCDRange.java
index 8f422515..f6b6f8d1 100644
--- a/qtjava/javalib/tutorial/t10/LCDRange.java
+++ b/qtjava/javalib/tutorial/t10/LCDRange.java
@@ -28,7 +28,7 @@ public class LCDRange extends TQVBox {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;
diff --git a/qtjava/javalib/tutorial/t11/LCDRange.java b/qtjava/javalib/tutorial/t11/LCDRange.java
index 8f422515..f6b6f8d1 100644
--- a/qtjava/javalib/tutorial/t11/LCDRange.java
+++ b/qtjava/javalib/tutorial/t11/LCDRange.java
@@ -28,7 +28,7 @@ public class LCDRange extends TQVBox {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;
diff --git a/qtjava/javalib/tutorial/t12/LCDRange.java b/qtjava/javalib/tutorial/t12/LCDRange.java
index a2b81bd4..4a8823a7 100644
--- a/qtjava/javalib/tutorial/t12/LCDRange.java
+++ b/qtjava/javalib/tutorial/t12/LCDRange.java
@@ -42,7 +42,7 @@ public class LCDRange extends TQVBox {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;
diff --git a/qtjava/javalib/tutorial/t13/LCDRange.java b/qtjava/javalib/tutorial/t13/LCDRange.java
index f55e7b0c..ab684991 100644
--- a/qtjava/javalib/tutorial/t13/LCDRange.java
+++ b/qtjava/javalib/tutorial/t13/LCDRange.java
@@ -47,7 +47,7 @@ public class LCDRange extends TQWidget {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;
diff --git a/qtjava/javalib/tutorial/t14/LCDRange.java b/qtjava/javalib/tutorial/t14/LCDRange.java
index f55e7b0c..ab684991 100644
--- a/qtjava/javalib/tutorial/t14/LCDRange.java
+++ b/qtjava/javalib/tutorial/t14/LCDRange.java
@@ -47,7 +47,7 @@ public class LCDRange extends TQWidget {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;
diff --git a/qtjava/javalib/tutorial/t8/LCDRange.java b/qtjava/javalib/tutorial/t8/LCDRange.java
index 8f422515..f6b6f8d1 100644
--- a/qtjava/javalib/tutorial/t8/LCDRange.java
+++ b/qtjava/javalib/tutorial/t8/LCDRange.java
@@ -28,7 +28,7 @@ public class LCDRange extends TQVBox {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;
diff --git a/qtjava/javalib/tutorial/t9/LCDRange.java b/qtjava/javalib/tutorial/t9/LCDRange.java
index 8f422515..f6b6f8d1 100644
--- a/qtjava/javalib/tutorial/t9/LCDRange.java
+++ b/qtjava/javalib/tutorial/t9/LCDRange.java
@@ -28,7 +28,7 @@ public class LCDRange extends TQVBox {
public void setRange(int minVal, int maxVal) {
if (minVal < 0 || maxVal > 99 || minVal > maxVal) {
- qWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
+ tqWarning("LCDRange::setRange("+minVal+","+maxVal+")\n"+
"\tRange must be 0..99\n"+
"\tand minVal must not be greater than maxVal");
return;