diff options
author | Britney Fransen <brfransen@gmail.com> | 2016-03-22 19:32:09 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2016-03-22 19:32:09 (GMT) |
commit | 6de33c4a76f1aa43608a4f68318e648222fdefe8 (patch) | |
tree | f52671d263abc730df1d12415667cef90f64b90b /abs/core/mythinstall/MythVantage-app/mythinstall/infrared.cpp | |
parent | 4cc2306549593b5738e84772aa3a5db3e7801954 (diff) | |
download | linhes_pkgbuild-6de33c4a76f1aa43608a4f68318e648222fdefe8.zip linhes_pkgbuild-6de33c4a76f1aa43608a4f68318e648222fdefe8.tar.gz linhes_pkgbuild-6de33c4a76f1aa43608a4f68318e648222fdefe8.tar.bz2 |
mythinstall: update for mythtv 0.28 and QT5
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")) |