diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-16 19:02:47 +0000 |
commit | e985f7e545f4739493965aad69bbecb136dc9346 (patch) | |
tree | 54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp | |
parent | f7670c198945adc3b95ad69a959fe5f8ae55b493 (diff) | |
download | tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip |
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp')
-rw-r--r-- | kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp b/kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp index 35878929..857848c3 100644 --- a/kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp +++ b/kxsldbg/kxsldbgpart/libqtnotfier/xsldbgevent.cpp @@ -41,7 +41,7 @@ XsldbgEventData::XsldbgEventData() int column; for (column = 0; column < XSLDBGEVENT_COLUMNS; column++){ - textValues[column] = TQString::null; + textValues[column] = TQString(); } for (column = 0; column < XSLDBGEVENT_COLUMNS; column++){ @@ -66,7 +66,7 @@ TQString XsldbgEventData::getText(int column) if ((column >= 0) && (column < XSLDBGEVENT_COLUMNS)) return textValues[column]; else - return TQString::null; + return TQString(); } @@ -678,8 +678,8 @@ void XsldbgEvent::handleIncludedSourceItem(XsldbgEventData *eventData, const vo }else{ /* emit the event data via debugger*/ emit debugger->sourceItem(eventData->getText(0), /* file name*/ - eventData->getText(1), /* parent file name*/ - eventData->getInt(0) /* parent line number*/); + eventData->getText(1), /* tqparent file name*/ + eventData->getInt(0) /* tqparent line number*/); } } } @@ -709,8 +709,8 @@ void XsldbgEvent::handleSourceItem(XsldbgEventData *eventData, const void *msgD }else{ /* emit the event data via debugger*/ emit debugger->sourceItem(eventData->getText(0), /* name*/ - eventData->getText(1), /* parent file name*/ - eventData->getInt(0) /* parent line number*/); + eventData->getText(1), /* tqparent file name*/ + eventData->getInt(0) /* tqparent line number*/); } } } |