summaryrefslogtreecommitdiffstats
path: root/parts/appwizard/importdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:49:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 11:37:44 +0900
commitea8f1be4653ed9ee5f0e4b26458fd7ce6981c297 (patch)
tree14bbd3b9aea15477cf53d97f7588c7205e6ca0d1 /parts/appwizard/importdlg.cpp
parent2d0252be2c7d7720c1ee7df1d2e643ef4ac3735a (diff)
downloadtdevelop-ea8f1be4.tar.gz
tdevelop-ea8f1be4.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 0ac52a652e631e24ac4989414b2c27b7b55ec239)
Diffstat (limited to 'parts/appwizard/importdlg.cpp')
-rw-r--r--parts/appwizard/importdlg.cpp6
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;