summaryrefslogtreecommitdiffstats
path: root/kparts/tests/ghostview.h
blob: 5d99d4f0ed637b105f1f9db3acb58d22b0099e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef __example_h__
#define __example_h__

#include <kparts/mainwindow.h>

class Shell : public KParts::MainWindow
{
  Q_OBJECT
public:
  Shell();
  virtual ~Shell();

  void openURL( const KURL & url );

protected slots:
  void slotFileOpen();

private:
  KParts::ReadOnlyPart *m_gvpart;
};

#endif