summaryrefslogtreecommitdiff
path: root/gui/mainwindow.h
blob: e61b4058b37ce635ceca64aeb6a464226a58746e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include "ui_mainwindow.h"

class MainWindow : public QWidget, private Ui::MainWindow {
	Q_OBJECT
	
	public:
		MainWindow();
	
	public slots:
		void update_track(const QUrl& track);
		void update_state(bool playing);
		void update_pos(int pos);
		void update_length(int length);
	
	private slots:
		void slider_released();
	
	signals:
		void prev();
		void pause();
		void play();
		void next();
		void seek(int pos);
};

#endif