diff options
Diffstat (limited to 'abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp')
-rwxr-xr-x | abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp b/abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp index cd56683..ae53011 100755 --- a/abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp +++ b/abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp @@ -1,7 +1,7 @@ #include <unistd.h> #include <stdlib.h> #include "infrared.h" -#include <Q3TextStream> +#include <QTextStream> using namespace std; @@ -36,7 +36,7 @@ HostRemoteTypeIR_favorites::HostRemoteTypeIR_favorites(): { continue; } - QImage* previewImage = new QImage(preview_global.absFilePath()); + QImage* previewImage = new QImage(preview_global.absoluteFilePath()); addImageSelection(remote.fileName(), previewImage); } }; @@ -71,7 +71,7 @@ HostRemoteTypeIR_other::HostRemoteTypeIR_other(): { continue; } - QImage* previewImage = new QImage(preview_global.absFilePath()); + QImage* previewImage = new QImage(preview_global.absoluteFilePath()); addImageSelection(remote.fileName(), previewImage); } }; @@ -107,7 +107,7 @@ HostRemoteTypeIR_hauppauge::HostRemoteTypeIR_hauppauge(): { continue; } - QImage* previewImage = new QImage(preview_global.absFilePath()); + QImage* previewImage = new QImage(preview_global.absoluteFilePath()); addImageSelection(remote.fileName(), previewImage); } }; @@ -144,7 +144,7 @@ HostRemoteTypeIR_ATI::HostRemoteTypeIR_ATI(): { continue; } - QImage* previewImage = new QImage(preview_global.absFilePath()); + QImage* previewImage = new QImage(preview_global.absoluteFilePath()); addImageSelection(remote.fileName(), previewImage); } }; @@ -182,12 +182,12 @@ HostRemoteTypeIR_user::HostRemoteTypeIR_user(): { continue; } - QImage* previewImage = new QImage(preview_global.absFilePath()); + QImage* previewImage = new QImage(preview_global.absoluteFilePath()); addImageSelection(remote.fileName(), previewImage); count++; } QFileInfo preview_global(previewpath); - QImage* previewImage = new QImage(preview_global.absFilePath()); + QImage* previewImage = new QImage(preview_global.absoluteFilePath()); if ( count == 0 ) addImageSelection("none found", previewImage); @@ -253,8 +253,8 @@ static HostComboBox *HostHDHRlirc_device() if ( file.open(QIODevice::ReadOnly | QIODevice::Text) ) { - Q3TextStream t( &file ); // use a text stream - while ( !t.eof() ) + QTextStream t( &file ); // use a text stream + while ( !t.atEnd() ) { line = t.readLine(); if ( line.startsWith("hdhomerun device")) |