1
#ifndef __LIBKVIXMMS_H_INCLUDED__
2
#define __LIBKVIXMMS_H_INCLUDED__
5
// THIS IS A PLUGIN FOR THE KVIrc IRC CLIENT
6
// Copyright (C) 1999-2000 Szymon Stefanek (kvirc@tin.it)
8
// This program is FREE software. You can redistribute it and/or
9
// modify it under the terms of the GNU General Public License
10
// as published by the Free Software Foundation; either version 2
11
// of the License, or (at your opinion) any later version.
13
// This program is distributed in the HOPE that it will be USEFUL,
14
// but WITHOUT ANY WARRANTY; without even the implied warranty of
15
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16
// See the GNU General Public License for more details.
18
// You should have received a copy of the GNU General Public License
19
// along with this program. If not, write to the Free Software Foundation,
20
// Inc. ,59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
24
#include "kvi_statusbar.h"
25
//#include "kvi_style.h"
29
class KviXmmsWindow : public KviWindow
32
public: // Consruction & Destruction
33
KviXmmsWindow(KviFrame *lpFrm);
36
QPushButton * m_pPlay;
37
QPushButton * m_pStop;
38
QPushButton * m_pPause;
45
protected: // Protected methods
46
virtual QPixmap * myIconPtr();
47
virtual void timerEvent(QTimerEvent *e);
59
class KviXmmsWidget : public KviDockableWidget
63
KviXmmsWidget(void * handle,KviStatusBar * parent,KviFrame * frame);
74
virtual void paintEvent(QPaintEvent *e);
75
virtual void mousePressEvent(QMouseEvent *e);
76
virtual void mouseReleaseEvent(QMouseEvent *e);
77
virtual void timerEvent(QTimerEvent *e);
78
void sayWhatIsPlayed();
81
#endif //!__LIBKVIXMMS_H_INCLUDED__