From f008adb5a77e094eaf6abf3fc0f36958e66896a5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 25 Jun 2011 05:28:35 +0000 Subject: TQt4 port koffice This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/kross/test/testcase.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/kross/test/testcase.py') diff --git a/lib/kross/test/testcase.py b/lib/kross/test/testcase.py index d3f2ea7b0..9fa58bc25 100644 --- a/lib/kross/test/testcase.py +++ b/lib/kross/test/testcase.py @@ -79,8 +79,8 @@ class TestPlugin(unittest.TestCase): self.assert_( self.pluginobject1.stringfunc(" Another \n\r Test! $%&\"") == " Another \n\r Test! $%&\"" ) #TODO - #self.assert_( self.pluginobject1.stringfunc( unicode(" Unicode test ") ) == " Unicode test " ) - #self.assert_( self.pluginobject1.stringfunc(unicode(" Another Test! ")) == unicode(" Another Test! ") ) + #self.assert_( self.pluginobject1.stringfunc( tqunicode(" Unicode test ") ) == " Unicode test " ) + #self.assert_( self.pluginobject1.stringfunc(tqunicode(" Another Test! ")) == tqunicode(" Another Test! ") ) self.assert_( self.pluginobject1.stringstringfunc("MyString1", "MyString2") == "MyString1" ) self.assert_( self.pluginobject1.uintdoublestringfunc(8529,285.246,"String") == 8529 ) @@ -110,8 +110,8 @@ class TestPlugin(unittest.TestCase): #print "===========> %s" % self.pluginobject2.myName() print "testqobject1 properties=%s" % self.testqobject1.propertyNames() - print "testqobject1 slots=%s" % self.testqobject1.slotNames() - print "testqobject1 signals=%s" % self.testqobject1.signalNames() + print "testqobject1 Q_SLOTS=%s" % self.testqobject1.slotNames() + print "testqobject1 Q_SIGNALS=%s" % self.testqobject1.signalNames() print "-----------------3" print "DIR=>%s" % dir(self.testqobject1) -- cgit v1.2.3