summaryrefslogtreecommitdiffstats
path: root/tdeparts/tests/normalktm.h
blob: 26a93a52a5ac201ce67b90b7c0aeba715bacc785 (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

#ifndef __normalktm_h__
#define __normalktm_h__

#include <tdeparts/part.h>
#include <kmainwindow.h>

class KAction;
class TQWidget;

class Shell : public KMainWindow
{
  Q_OBJECT
public:
  Shell();
  virtual ~Shell();

protected slots:
  void slotFileOpen();
  void slotFileOpenRemote();
  void slotFileEdit();
  void slotFileCloseEditor();

protected:
  void embedEditor();

private:

  KAction * m_paEditFile;
  KAction * m_paCloseEditor;

  KParts::ReadOnlyPart *m_part1;
  KParts::Part *m_part2;
  KParts::ReadWritePart *m_editorpart;
  TQWidget *m_splitter;
};

#endif