diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 08:24:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-19 08:24:43 +0000 |
commit | 96a33d90689a46ea58f812d76fdd2eaf93edecfa (patch) | |
tree | 756ca55bffdffc115088699dd1b76c61eb6f64bf /kate/part | |
parent | 5783baba4a547c443e4392f51c8023d38cb9fe6a (diff) | |
download | tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.tar.gz tdelibs-96a33d90689a46ea58f812d76fdd2eaf93edecfa.zip |
Additional TQt for Qt4 compilation fixes
This should not affect TQt for Qt3 per usual
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1215674 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/part')
-rw-r--r-- | kate/part/kateviewinternal.h | 2 | ||||
-rw-r--r-- | kate/part/test_regression.cpp | 10 |
2 files changed, 6 insertions, 6 deletions
diff --git a/kate/part/kateviewinternal.h b/kate/part/kateviewinternal.h index c7dda2f73..6c765978e 100644 --- a/kate/part/kateviewinternal.h +++ b/kate/part/kateviewinternal.h @@ -222,7 +222,7 @@ class KateViewInternal : public TQWidget int scrollX; int scrollY; - Qt::CursorShape m_mouseCursor; + TQt::tqCursorShape m_mouseCursor; KateSuperCursor cursor; KateTextCursor displayCursor; diff --git a/kate/part/test_regression.cpp b/kate/part/test_regression.cpp index 9fee1654b..ac1d8bdf5 100644 --- a/kate/part/test_regression.cpp +++ b/kate/part/test_regression.cpp @@ -628,7 +628,7 @@ int main(int argc, char *argv[]) link += TQString(" <p style=\"color:green;font-weight:bold\">%1 new passes since %2</p>") .arg(regressionTest->m_passes_new) .arg(regressionTest->m_failureComp->group()); - list.writeBlock( link.latin1(), link.length() ); + list.tqwriteBlock( link.latin1(), link.length() ); list.close(); } } @@ -681,12 +681,12 @@ RegressionTest::RegressionTest(KateDocument *part, KConfig *baseConfig, TQString s; f.open( IO_WriteOnly | IO_Truncate ); s = "<html><body>Follow the white rabbit"; - f.writeBlock( s.latin1(), s.length() ); + f.tqwriteBlock( s.latin1(), s.length() ); f.close(); f.setName( m_outputDir + "/index.html" ); f.open( IO_WriteOnly | IO_Truncate ); s = "<html><frameset cols=150,*><frame src=links.html><frame name=content src=empty.html>"; - f.writeBlock( s.latin1(), s.length() ); + f.tqwriteBlock( s.latin1(), s.length() ); f.close(); curr = this; @@ -848,7 +848,7 @@ void RegressionTest::createLink( const TQString& test, int failures ) if (failures & NewFailure) link += "</span>"; link += "<br>\n"; - list.writeBlock( link.latin1(), link.length() ); + list.tqwriteBlock( link.latin1(), link.length() ); list.close(); } @@ -1020,7 +1020,7 @@ void RegressionTest::doFailureReport( const TQString& test, int failures ) cl += "<div id='dom' class='diff'>" + domDiff + "</div>"; cl += "</body></html>"; - compare.writeBlock( cl.latin1(), cl.length() ); + compare.tqwriteBlock( cl.latin1(), cl.length() ); compare.close(); } |