Commit 38ee0eb0 authored by Samikshan Bairagya's avatar Samikshan Bairagya

Introducing another user interface for "What's Interesting" feature. Took some...

Introducing another user interface for "What's Interesting" feature. Took some risk and decided to go for an unconventional design.
parent aeebb81e
......@@ -32,7 +32,7 @@ WIView::WIView ( QObject *parent, ObsConditions *obs) : QObject(parent)
baseView->setSource(KStandardDirs::locate("appdata","tools/whatsinteresting/qml/wiview.qml") );
baseObj = dynamic_cast<QObject *> (baseView->rootObject());
soTypeTextObj = baseObj->findChild<QObject *>("soTypeTextObj");
//soTypeTextObj = baseObj->findChild<QObject *>("soTypeTextObj");
containerObj = baseObj->findChild<QObject *>("containerObj");
......
......@@ -36,7 +36,7 @@ public slots:
void onSoListItemClicked(int type, QString typeName, int index);
void onNextObjTextClicked();
private:
QObject *baseObj, *containerObj, *viewsRowObj, *soListObj, *detailsViewObj, *nextObj, *soTypeTextObj;
QObject *baseObj, *containerObj, *viewsRowObj, *soListObj, *detailsViewObj, *nextObj;
QDeclarativeContext *ctxt;
ModelManager *m;
SkyObjItem *curSoItem;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment