Skip to content

Commit

Permalink
Remove depreacted/unused imagegrid widget.
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartm committed Aug 16, 2011
1 parent 3926cbc commit 201c180
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 1,008 deletions.
15 changes: 5 additions & 10 deletions mythtv/libs/libmyth/mythdialogs.cpp
Expand Up @@ -47,7 +47,7 @@ MythDialog::MythDialog(MythMainWindow *parent, const char *name, bool setsize)
setObjectName(name);
if (!parent)
{
LOG(VB_GENERAL, LOG_ALERT,
LOG(VB_GENERAL, LOG_ALERT,
"Trying to create a dialog without a parent.");
return;
}
Expand Down Expand Up @@ -119,7 +119,7 @@ void MythDialog::setResult(DialogCode r)
if ((r < kDialogCodeRejected) ||
((kDialogCodeAccepted < r) && (r < kDialogCodeListStart)))
{
LOG(VB_GENERAL, LOG_ALERT,
LOG(VB_GENERAL, LOG_ALERT,
QString("MythDialog::setResult(%1) "
"called with invalid DialogCode").arg(r));
}
Expand Down Expand Up @@ -167,7 +167,7 @@ DialogCode MythDialog::exec(void)
{
if (in_loop)
{
LOG(VB_GENERAL, LOG_ALERT,
LOG(VB_GENERAL, LOG_ALERT,
"MythDialog::exec: Recursive call detected.");
return kDialogCodeRejected;
}
Expand Down Expand Up @@ -1213,7 +1213,7 @@ void MythThemedDialog::parseContainer(QDomElement &element)
theme->parseContainer(element, name, a_context, area);
if (name.length() < 1)
{
LOG(VB_GENERAL, LOG_ALERT,
LOG(VB_GENERAL, LOG_ALERT,
"Failed to parse a container. Ignoring.");
return;
}
Expand Down Expand Up @@ -1369,7 +1369,7 @@ void MythThemedDialog::UpdateForegroundRect(const QRect &inv_rect)
// Debugging
//
#if 0
LOG(VB_GENERAL, LOG_DEBUG,
LOG(VB_GENERAL, LOG_DEBUG,
QString("A container called \"%1\" said its "
"area is %2,%3 to %4,%5")
.arg(looper->GetName())
Expand Down Expand Up @@ -1654,11 +1654,6 @@ UIKeyboardType *MythThemedDialog::getUIKeyboardType(const QString &name)
return GetUIType<UIKeyboardType>(this, name);
}

UIImageGridType* MythThemedDialog::getUIImageGridType(const QString &name)
{
return GetUIType<UIImageGridType>(this, name);
}

LayerSet *MythThemedDialog::getContainer(const QString &name)
{
QList<LayerSet*>::iterator an_it = my_containers.begin();
Expand Down
2 changes: 0 additions & 2 deletions mythtv/libs/libmyth/mythdialogs.h
Expand Up @@ -27,7 +27,6 @@ class UICheckBoxType;
class UISelectorType;
class UIBlackHoleType;
class UIImageType;
class UIImageGridType;
class UIStatusBarType;
class UIListBtnType;
class UIListTreeType;
Expand Down Expand Up @@ -376,7 +375,6 @@ class MPUBLIC MythThemedDialog : public MythDialog
UICheckBoxType *getUICheckBoxType(const QString &name);
UISelectorType *getUISelectorType(const QString &name);
UIBlackHoleType *getUIBlackHoleType(const QString &name);
UIImageGridType *getUIImageGridType(const QString &name);
UIImageType *getUIImageType(const QString &name);
UIStatusBarType *getUIStatusBarType(const QString &name);
UIListBtnType *getUIListBtnType(const QString &name);
Expand Down

0 comments on commit 201c180

Please sign in to comment.