diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:17:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-26 13:17:21 -0600 |
commit | dfe289850f068f19ba4a83ab4e7e22a7e09c13c9 (patch) | |
tree | c297348a55df66c571de4525646e0b9762427353 /tdeparts/tests/example.h | |
parent | b7658a0d5eca24a9d37c6e04f88298ef02389db0 (diff) | |
download | tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.tar.gz tdelibs-dfe289850f068f19ba4a83ab4e7e22a7e09c13c9.zip |
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdeparts/tests/example.h')
-rw-r--r-- | tdeparts/tests/example.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/tdeparts/tests/example.h b/tdeparts/tests/example.h new file mode 100644 index 000000000..b4bdead61 --- /dev/null +++ b/tdeparts/tests/example.h @@ -0,0 +1,39 @@ + +#ifndef __example_h__ +#define __example_h__ + +#include <tdeparts/partmanager.h> +#include <tdeparts/mainwindow.h> + +class KAction; +class TQWidget; + +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; + TQWidget *m_splitter; +}; + +#endif |