summaryrefslogtreecommitdiffstats
path: root/kaffeine/src/input/dvb/dvbstream.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kaffeine/src/input/dvb/dvbstream.cpp')
-rw-r--r--kaffeine/src/input/dvb/dvbstream.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/kaffeine/src/input/dvb/dvbstream.cpp b/kaffeine/src/input/dvb/dvbstream.cpp
index 377f119..b3ca31d 100644
--- a/kaffeine/src/input/dvb/dvbstream.cpp
+++ b/kaffeine/src/input/dvb/dvbstream.cpp
@@ -158,7 +158,7 @@ bool DvbStream::canSource( ChannelDesc *chan )
return false;
int i;
for ( i=0; i<dvbDevice->numLnb; i++ ) {
- if ( dvbDevice->lnb[i].source.tqcontains(chan->tp.source) )
+ if ( dvbDevice->lnb[i].source.contains(chan->tp.source) )
return true;
}
return false;
@@ -181,7 +181,7 @@ int DvbStream::getSatPos( const TQString &src )
return -1;
for ( i=0; i<dvbDevice->numLnb; i++ )
- if ( dvbDevice->lnb[i].source.tqcontains(src) )
+ if ( dvbDevice->lnb[i].source.contains(src) )
return i;
return -1;
}
@@ -376,7 +376,7 @@ bool DvbStream::tuneDvb( ChannelDesc *chan, bool dvr )
switch( fe_info.type ) {
case FE_OFDM : {
TQString s = fe_info.name;
- //if ( s.tqcontains("TerraTec/qanu USB2.0 Highspeed DVB-T Receiver") ) // cinergyT2 hack
+ //if ( s.contains("TerraTec/qanu USB2.0 Highspeed DVB-T Receiver") ) // cinergyT2 hack
// freq+=167000;
if (freq < 1000000)
freq*=1000UL;
@@ -721,7 +721,7 @@ void DvbStream::moveRotor( int switchPos, ChannelDesc *chan, int hiband, bool dv
double DvbStream::getSourceAngle( TQString source )
{
double angle=1.0;
- int pos = source.tqfindRev("-");
+ int pos = source.findRev("-");
source.remove(0,pos+1);
source = source.upper();
if ( source.endsWith("W") )
@@ -1302,10 +1302,10 @@ bool DvbStream::startTimer( ChannelDesc *chan, TQString path, int maxsize, RecTi
newout = true;
}
- if ( t->mode && !name.tqcontains("%date") )
+ if ( t->mode && !name.contains("%date") )
name+= "-%date";
- name = name.tqreplace( "%chan", chan->name ).tqreplace("%date", t->begin.toString( "yyyyMMdd-hhmmss" ) ).tqreplace("%name", t->name );
- name = name.tqreplace( "/", "_" ).tqreplace( ">", "_" ).tqreplace("<","_").tqreplace(":","_").tqreplace('"',"_").tqreplace("\\","_").tqreplace("|","_");
+ name = name.replace( "%chan", chan->name ).replace("%date", t->begin.toString( "yyyyMMdd-hhmmss" ) ).replace("%name", t->name );
+ name = name.replace( "/", "_" ).replace( ">", "_" ).replace("<","_").replace(":","_").replace('"',"_").replace("\\","_").replace("|","_");
name = path+name;
if ( !o->goRec( name, maxsize, t ) ) {