本文整理汇总了C++中ProgLister::Create方法的典型用法代码示例。如果您正苦于以下问题:C++ ProgLister::Create方法的具体用法?C++ ProgLister::Create怎么用?C++ ProgLister::Create使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ProgLister
的用法示例。
在下文中一共展示了ProgLister::Create方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: startPrevious
static void startPrevious(void)
{
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
ProgLister *pl = new ProgLister(mainStack);
if (pl->Create())
mainStack->AddScreen(pl);
else
delete pl;
}
示例2: startSearchTime
static void startSearchTime(void)
{
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
ProgLister *pl = new ProgLister(mainStack, plTime, "", "");
if (pl->Create())
mainStack->AddScreen(pl);
else
delete pl;
}
示例3: ShowPrevious
/**
* \brief Show the previous recordings for this recording rule
*/
void ScheduleCommon::ShowPrevious(void) const
{
ProgramInfo *pginfo = GetCurrentProgram();
if (!pginfo)
return;
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
ProgLister *pl = new ProgLister(mainStack, pginfo->GetRecordingRuleID(),
pginfo->GetTitle());
if (pl->Create())
mainStack->AddScreen(pl);
else
delete pl;
}
示例4: ShowChannelSearch
/**
* \brief Show the channel search
*/
void ScheduleCommon::ShowChannelSearch() const
{
ProgramInfo *pginfo = GetCurrentProgram();
if (!pginfo)
return;
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
ProgLister *pl = new ProgLister(mainStack, plChannel,
QString::number(pginfo->GetChanID()), "",
pginfo->GetScheduledStartTime());
if (pl->Create())
mainStack->AddScreen(pl);
else
delete pl;
}
示例5: upcoming
void ChannelRecPriority::upcoming()
{
MythUIButtonListItem *item = m_channelList->GetItemCurrent();
if (!item)
return;
ChannelInfo *chanInfo = item->GetData().value<ChannelInfo *>();
if (!chanInfo || chanInfo->chanid < 1)
return;
QString chanID = QString("%1").arg(chanInfo->chanid);
MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
ProgLister *pl = new ProgLister(mainStack, plChannel, chanID, "");
if (pl->Create())
mainStack->AddScreen(pl);
else
delete pl;
}