You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
628 B
40 lines
628 B
15 years ago
|
|
||
|
#ifndef __example_h__
|
||
|
#define __example_h__
|
||
|
|
||
12 years ago
|
#include <tdeparts/partmanager.h>
|
||
|
#include <tdeparts/mainwindow.h>
|
||
15 years ago
|
|
||
|
class KAction;
|
||
15 years ago
|
class TQWidget;
|
||
15 years ago
|
|
||
|
class Shell : public KParts::MainWindow
|
||
|
{
|
||
|
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;
|
||
|
KParts::PartManager *m_manager;
|
||
15 years ago
|
TQWidget *m_splitter;
|
||
15 years ago
|
};
|
||
|
|
||
|
#endif
|