Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 258995
Collapse All | Expand All

(-)kmplayer-0.11.0a/src/kmplayer_part.cpp (+15 lines)
Lines 125-130 Link Here
125
      return new KMPlayerPart (wparent, parent, args);
125
      return new KMPlayerPart (wparent, parent, args);
126
}
126
}
127
127
128
KDE_NO_EXPORT QString PartBase::getStatus () {
129
    QString rval = "Waiting";
130
    if (source() && source()->document()) {
131
        if (source()->document()->unfinished ())
132
            rval = "Playable";
133
        else if (source()->document()->state >= Node::state_deactivated)
134
            rval = "Complete";
135
    }
136
    return rval;
137
}
138
139
KDE_NO_EXPORT QString PartBase::doEvaluate (const QString &) {
140
    return "undefined";
141
}
142
128
const KComponentData &KMPlayerFactory::componentData () {
143
const KComponentData &KMPlayerFactory::componentData () {
129
    kDebug () << "KMPlayerFactory::instance";
144
    kDebug () << "KMPlayerFactory::instance";
130
    if (!s_instance)
145
    if (!s_instance)

Return to bug 258995