MythTV master
dvbtypes.cpp
Go to the documentation of this file.
1// -*- Mode: c++ -*-
2
3// MythTV headers
4#include "dvbtypes.h"
5
6QString toString(fe_status status)
7{
8 QString str("");
9 if (FE_HAS_SIGNAL & status) str += "Signal,";
10 if (FE_HAS_CARRIER & status) str += "Carrier,";
11 if (FE_HAS_VITERBI & status) str += "FEC Stable,";
12 if (FE_HAS_SYNC & status) str += "Sync,";
13 if (FE_HAS_LOCK & status) str += "Lock,";
14 if (FE_TIMEDOUT & status) str += "Timed Out,";
15 if (FE_REINIT & status) str += "Reinit,";
16 return str;
17}
QString toString(fe_status status)
Definition: dvbtypes.cpp:6