blob: be8fc550d34c3b8212b8d76247ebdcc297ebe4a1 (
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
/*
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) version 2.
*/
/*
Copyright (C) 2008 Eli J. MacKenzie <argonel at gmail.com>
*/
#ifndef QUEUETUNER_H
#define QUEUETUNER_H
#include "queuetunerbase.h"
class Server;
class ViewContainer;
class TQTimer;
#include <tqtimer.h>
class QueueTuner: public QueueTunerBase
{
Q_OBJECT
public:
QueueTuner(TQWidget* parent, ViewContainer *container);
~QueueTuner();
virtual void contextMenuEvent (TQContextMenuEvent*);
public slots:
void setServer(Server* newServer);
void getRates();
void timerFired();
virtual void hide();
virtual void show();
virtual void open();
virtual void close();
void slowRateChanged(int);
void slowTypeChanged(int);
void slowIntervalChanged(int);
void normalRateChanged(int);
void normalTypeChanged(int);
void normalIntervalChanged(int);
void fastRateChanged(int);
void fastTypeChanged(int);
void fastIntervalChanged(int);
void serverDestroyed(TQObject*);
signals:
void hidden();
private:
Server* m_server;
TQTimer m_timer;
bool &m_vis;
};
#endif
|