Clementine-audio-player-Mac.../src/ui/console.h

29 lines
446 B
C
Raw Normal View History

2012-09-26 18:36:47 +02:00
#ifndef CONSOLE_H
#define CONSOLE_H
#include <QDialog>
#include "ui_console.h"
class Application;
class Console : public QDialog {
Q_OBJECT
public:
Console(Application* app, QWidget* parent = nullptr);
2012-09-26 18:36:47 +02:00
private slots:
// Database
2012-09-26 18:36:47 +02:00
void RunQuery();
// Qt
void Dump();
2012-09-26 18:36:47 +02:00
private:
QList<QObject*> GetTopLevelObjects();
QObject* FindTopLevelObject(QString& name);
2012-09-26 18:36:47 +02:00
Ui::Console ui_;
Application* app_;
};
#endif // CONSOLE_H