Merge branch 'Bett-2012' of github.com:Sankore/Sankore-3.1 into Bett-2012

preferencesAboutTextFull
shibakaneki 13 years ago
commit a7f3ff3d9f
  1. 8
      src/gui/UBTeacherBarWidget.cpp
  2. 1
      src/gui/UBTeacherBarWidget.h

@ -859,6 +859,14 @@ void UBTeacherBarPreviewMedia::cleanMedia()
mWidgetList.clear(); mWidgetList.clear();
} }
void UBTeacherBarPreviewMedia::loadWidgets(QList<QWidget*> pWidgetsList)
{
foreach(QWidget*eachWidget, pWidgetsList){
mWidget->addWidget(eachWidget);
mWidgetList[eachWidget]="DRAG UNAVAILABLE";
}
}
void UBTeacherBarPreviewMedia::loadMedia(QStringList pMedias) void UBTeacherBarPreviewMedia::loadMedia(QStringList pMedias)
{ {

@ -83,6 +83,7 @@ public:
UBTeacherBarPreviewMedia(QWidget* parent=0, const char* name="UBTeacherBarPreviewMedia"); UBTeacherBarPreviewMedia(QWidget* parent=0, const char* name="UBTeacherBarPreviewMedia");
~UBTeacherBarPreviewMedia(); ~UBTeacherBarPreviewMedia();
void loadMedia(QStringList pMedias); void loadMedia(QStringList pMedias);
void loadWidgets(QList<QWidget*> pWidgetList);
void cleanMedia(); void cleanMedia();
private: private:

Loading…
Cancel
Save