Commit ac43f0e0 authored by Michael Pyne's avatar Michael Pyne

Get rid of all the 'playlist.h:720 foo is deprecated' warnings by extracting QCustomEvent.

svn path=/trunk/KDE/kdemultimedia/juk/; revision=538187
parent f2637723
......@@ -714,11 +714,13 @@ private:
bool processEvents();
class FocusUpEvent : public QCustomEvent
class FocusUpEvent : public QEvent
FocusUpEvent() : QCustomEvent(id) {}
static const int id = 999;
FocusUpEvent() : QEvent(id) {}
Type type() const { return id; }
static const Type id = static_cast<Type>(QEvent::User + 1);
QDataStream &operator<<(QDataStream &s, const Playlist &p);
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