From ffe8a83e053396df448e9413828527613ca3bd46 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:46:43 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- dcop/dcopidl2cpp/main.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'dcop/dcopidl2cpp/main.cpp') diff --git a/dcop/dcopidl2cpp/main.cpp b/dcop/dcopidl2cpp/main.cpp index 32d128c30..5e0f27525 100644 --- a/dcop/dcopidl2cpp/main.cpp +++ b/dcop/dcopidl2cpp/main.cpp @@ -20,10 +20,10 @@ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ******************************************************************/ -#include -#include -#include -#include +#include +#include +#include +#include #include #include @@ -53,7 +53,7 @@ int main( int argc, char** argv ) bool generate_skel = true; bool generate_stub = true; - QString suffix = "cpp"; + TQString suffix = "cpp"; while (argc > 2) { @@ -91,18 +91,18 @@ int main( int argc, char** argv ) } } - QFile in( QFile::decodeName(argv[argpos]) ); + TQFile in( TQFile::decodeName(argv[argpos]) ); if ( !in.open( IO_ReadOnly ) ) qFatal("Could not read %s", argv[argpos] ); - QDomDocument doc; + TQDomDocument doc; doc.setContent( &in ); - QDomElement de = doc.documentElement(); + TQDomElement de = doc.documentElement(); Q_ASSERT( de.tagName() == "DCOP-IDL" ); - QString base( argv[argpos] ); - QString idl = base; + TQString base( argv[argpos] ); + TQString idl = base; int pos = base.findRev( '.' ); if ( pos != -1 ) @@ -116,7 +116,7 @@ int main( int argc, char** argv ) generateSkel( idl, base + "_skel." + suffix, de ); if ( generate_stub ) { - QString header = base; + TQString header = base; generateStub( idl, header + "_stub.h", de ); pos = header.findRev('/'); if ( pos != -1 ) -- cgit v1.2.1