2
Copyright (c) 2000 Stefan Schimanski <1Stein@gmx.de>
4
This program is free software; you can redistribute it and/or modify
5
it under the terms of the GNU General Public License as published by
6
the Free Software Foundation; either version 2, or (at your option)
9
This program is distributed in the hope that it will be useful,
10
but WITHOUT ANY WARRANTY; without even the implied warranty of
11
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
GNU General Public License for more details.
14
You should have received a copy of the GNU General Public License
15
aint with this program; if not, write to the Free Software
16
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19
#ifndef USERINTERFACE_H
20
#define USERINTERFACE_H
23
#include <noatunapp.h>
24
#include <kmainwindow.h>
31
* @short Main window class
32
* @author Stefan Schimanski <1Stein@gmx.de>
35
class Kaiman : public KMainWindow, public UserInterface
42
bool changeStyle( const QString &style, const QString &desc=QString::null );
44
void dropEvent( QDropEvent * );
45
void doDropEvent( QDropEvent * );
46
void dragEnterEvent( QDragEnterEvent * );
47
void closeEvent(QCloseEvent*);
50
void seekStart( int );
56
void setVolume( int vol );
64
void loopTypeChange( int t );
65
void newSongLen( int mins, int sec );
70
static const char DEFAULT_SKIN[];
71
static Kaiman *kaiman;
74
bool loadStyle( const QString &style, const QString &desc );