blob: 94b180012e2ef4c9bed51f91776dc277949078d4 (
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
30
|
#pragma once
#include <tqwidget.h>
#include <tqdatetime.h>
class AlsaModel;
class AlsaDevice;
class AlsaDeviceWidget;
class AlsaPopup : public TQWidget
{
TQ_OBJECT
public:
explicit AlsaPopup( AlsaModel *model, TQWidget *parent = 0 );
void toggleAt( const TQPoint &trayPos, const TQSize &traySize );
bool justHidden() const;
protected:
void hideEvent( TQHideEvent *e );
private slots:
void rebuild();
private:
AlsaModel *m_model;
TQWidget *m_container;
AlsaDeviceWidget *m_widget;
TQTime m_hideTime;
};
|