Mercurial > minori
view include/gui/pages/now_playing.h @ 65:26721c28bf22
*: avoid usage of (to|from)StdString
in Qt5 (and probably Qt6 as well) these functions are only
available (or even usable) if Qt and Minori were built with the
*same standard headers*, which may not be the case in some
circumstances. hence, we'll use our own conversion functions,
which we probably should use anyway.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Sun, 01 Oct 2023 23:26:35 -0400 |
parents | fe719c109dbc |
children | 27a19dd6cba1 |
line wrap: on
line source
#ifndef __gui__pages__now_playing_h #define __gui__pages__now_playing_h #include <QFrame> class QStackedWidget; class NowPlayingPage : public QFrame { Q_OBJECT public: NowPlayingPage(QWidget* parent = nullptr); void SetDefault(); void SetPlaying(int id); private: QStackedWidget* stack; }; #endif // __gui__pages__now_playing_h