diff options
Diffstat (limited to 'kparts/tests/parts.h')
-rw-r--r-- | kparts/tests/parts.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/kparts/tests/parts.h b/kparts/tests/parts.h deleted file mode 100644 index 0d4e6480a..000000000 --- a/kparts/tests/parts.h +++ /dev/null @@ -1,43 +0,0 @@ - -#ifndef __parts_h__ -#define __parts_h__ - -#include <kparts/part.h> - -class TQMultiLineEdit; -namespace KParts { -class GUIActivateEvent; -}; - -class Part1 : public KParts::ReadOnlyPart -{ - Q_OBJECT -public: - Part1( TQObject *parent, TQWidget * parentWidget ); - virtual ~Part1(); - -protected: - virtual bool openFile(); - -protected: - TQMultiLineEdit * m_edit; - TDEInstance *m_instance; -}; - -class Part2 : public KParts::Part -{ - Q_OBJECT -public: - Part2( TQObject *parent, TQWidget * parentWidget ); - virtual ~Part2(); - -protected: - // This is not mandatory - only if you care about setting the - // part caption when the part is used in a multi-part environment - // (i.e. in a part manager) - // There is a default impl for ReadOnlyPart... - virtual void guiActivateEvent( KParts::GUIActivateEvent * ); - TDEInstance *m_instance; -}; - -#endif |