q( new LocationPrivate( x, y, label ) ),
manager( new QNetworkAccessManager(this) )
{
+ qDebug() << "Location::Location(" << x << "," << y << "," << label <<")";
connect(
manager, SIGNAL( finished(QNetworkReply*) ),
this, SLOT( replyFinished(QNetworkReply*) )
qDebug() << address;
q->setAddress( address );
+ q->setValid( false );
QUrl fullUrl( Ytv::Url );
q->parseReply( reply->readAll() );
if ( isValid() ) {
- qDebug() << label() << "becomeValid" << this;
+ qDebug() << label() << "becomeValid";
emit( becomeValid() );
}
}
void Location::setAddress( const QString &address ) const
{
+ qDebug() << "setting address to" << address;
q->setAddress( address );
}
return q->isValid();
}
-
// Degrees to radians
double Location::radians(double deg)
{