blob: 30467ac6f5bb47769a1736bda9a37d363bd6bec9 (
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
|
// Author: Max Howell <[email protected]>, (C) 2005
// Copyright: See COPYING file that comes with this distribution
#ifndef CODEINE_PART_H
#define CODEINE_PART_H
#include <kparts/statusbarextension.h>
#include <kparts/part.h>
#include <kurl.h>
class KAboutData;
class QSlider;
namespace Codeine
{
class Part : public KParts::ReadOnlyPart
{
public:
Part( QWidget*, const char*, QObject*, const char*, const QStringList& );
virtual bool openFile() { return false; } //pure virtual in base class
virtual bool openURL( const KURL& );
virtual bool closeURL();
static KAboutData *createAboutData();
private:
KParts::StatusBarExtension *m_statusBarExtension;
QSlider *m_slider;
KStatusBar *statusBar() { return m_statusBarExtension->statusBar(); }
virtual void timerEvent( QTimerEvent* );
};
}
#endif
|