Last active
December 28, 2015 19:29
-
-
Save biboudis/7551005 to your computer and use it in GitHub Desktop.
Signals in QT (class taken from clementine's playlist manager header file).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PlaylistManagerInterface : public QObject { | |
Q_OBJECT | |
public: | |
PlaylistManagerInterface(Application* app, QObject* parent) | |
: QObject(parent) {} | |
// methods | |
public slots: | |
virtual void Load(const QString& filename) = 0; | |
virtual void SelectionChanged(const QItemSelection& selection) = 0; | |
// more slots ... | |
signals: | |
void PlaylistManagerInitialized(); | |
// more signals | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment