* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
+#include <QDebug>
+
#include "QTorrentHandle.h"
QTorrentHandle::QTorrentHandle(libtorrent::torrent_handle handle) :
- torrentHandle(handle)
+ torrentHandle_(handle)
{
}
{
}
+bool QTorrentHandle::isValid() const
+{
+ return torrentHandle_.is_valid();
+}
+