[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: kdebindings/qtjava/javalib/qtjava
From: Antonio Larrosa Jimenez <larrosa () kde ! org>
Date: 2003-02-27 17:10:55
[Download RAW message or body]
CVS commit by antlarr:
And with this one, there isn't any comparison with "" in CVS.
M +4 -4 QtSupport.cpp 1.29
--- kdebindings/qtjava/javalib/qtjava/QtSupport.cpp #1.28:1.29
@@ -472,9 +472,9 @@ QtSupport::connect(JNIEnv * env, jobject
// Attempt to connect from the signal on the underlying C++ object first,
// otherwise assume that the connection is for a Java signal.
- if (qtSignalName != "") {
+ if (!qtSignalName.isEmpty()) {
QMetaObject * smetaTarget = ((QObject *) QtSupport::getQt(env, \
receiver))->metaObject();
QString qtTargetSignalName(javaSlot->javaToQtSignalName(env, slot, \
smetaTarget));
- if (qtTargetSignalName != "") {
+ if (!qtTargetSignalName.isEmpty()) {
// The sender is a C++ signal, and the target is also a C++ \
signal
return (jboolean) QObject::connect( (QObject*) \
QtSupport::getQt(env, sender), @@ -508,9 +508,9 @@ QtSupport::disconnect(JNIEnv * \
env, jobj
// Attempt to disconnect from the signal on the underlying C++ object first,
// otherwise assume that the connection is for a Java signal.
- if (qtSignalName != "") {
+ if (!qtSignalName.isEmpty()) {
QMetaObject * smetaTarget = ((QObject *) QtSupport::getQt(env, \
receiver))->metaObject();
QString qtTargetSignalName(javaSlot->javaToQtSignalName(env, slot, \
smetaTarget));
- if (qtTargetSignalName != "") {
+ if (!qtTargetSignalName.isEmpty()) {
// The sender is a C++ signal, and the target is also a C++ \
signal
return (jboolean) QObject::disconnect( (QObject*) \
QtSupport::getQt(env, sender),
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic