diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:46:43 +0000 |
commit | ffe8a83e053396df448e9413828527613ca3bd46 (patch) | |
tree | a73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /dcop/dcopidl2cpp/main.cpp | |
parent | 682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff) | |
download | tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'dcop/dcopidl2cpp/main.cpp')
-rw-r--r-- | dcop/dcopidl2cpp/main.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
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 <qdom.h> -#include <qfile.h> -#include <qtextstream.h> -#include <qstring.h> +#include <tqdom.h> +#include <tqfile.h> +#include <tqtextstream.h> +#include <tqstring.h> #include <string.h> #include <stdlib.h> @@ -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 ) |