diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:49:24 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-04 00:22:09 +0900 |
commit | 0ac52a652e631e24ac4989414b2c27b7b55ec239 (patch) | |
tree | 0517e5050037eabfcb03f1e80f9b39ab16f6737d /parts | |
parent | 33b2598a0e14810025fd31406a689f561015e074 (diff) | |
download | tdevelop-0ac52a652e631e24ac4989414b2c27b7b55ec239.tar.gz tdevelop-0ac52a652e631e24ac4989414b2c27b7b55ec239.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'parts')
-rw-r--r-- | parts/appwizard/importdlg.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/parts/appwizard/importdlg.cpp b/parts/appwizard/importdlg.cpp index cbe5bec2..975b9e1f 100644 --- a/parts/appwizard/importdlg.cpp +++ b/parts/appwizard/importdlg.cpp @@ -417,7 +417,7 @@ void ImportDialog::scanAutomakeProject(const TQString &dirName) TQFile configIn(dirName+"/configure.in"); TQFile configAc(dirName+"/configure.ac"); if (configInIn.open(IO_ReadOnly)){ - cstream.setDevice(TQT_TQIODEVICE(&configInIn)); + cstream.setDevice(&configInIn); while (!cstream.atEnd()) { TQString line = cstream.readLine(); if ( ac_init.search(line) >= 0){ @@ -437,11 +437,11 @@ void ImportDialog::scanAutomakeProject(const TQString &dirName) } if (configIn.open(IO_ReadOnly)){ - cstream.setDevice(TQT_TQIODEVICE(&configIn)); + cstream.setDevice(&configIn); } else{ if (configAc.open(IO_ReadOnly)){ - cstream.setDevice(TQT_TQIODEVICE(&configAc)); + cstream.setDevice(&configAc); } else{ return; |