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 <tdeparts/mainwindow.h> class Shell : public KParts::MainWindow { TQ_OBJECT public: Shell(); virtual ~Shell(); void openURL( const KURL & url ); protected slots: void slotFileOpen(); private: KParts::ReadOnlyPart *m_gvpart; }; #endif