diff options
| author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
|---|---|---|
| committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:02:43 -0600 |
| commit | aea627236e4de24599c3e30617cf264c3c1b7d40 (patch) | |
| tree | 467e13ca5a7eb0ab292259289ecc3572f53c5eae /example | |
| parent | 786304c6211f35ddc4cdd54b7aa7985fef4a2e70 (diff) | |
| download | koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.tar.gz koffice-aea627236e4de24599c3e30617cf264c3c1b7d40.zip | |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'example')
| -rw-r--r-- | example/example_view.cc | 2 | ||||
| -rw-r--r-- | example/example_view.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/example/example_view.cc b/example/example_view.cc index fe15ba4f9..eab4fd7f3 100644 --- a/example/example_view.cc +++ b/example/example_view.cc @@ -39,7 +39,7 @@ ExampleView::ExampleView( ExamplePart* part, TQWidget* parent, const char* name KStdAction::copy(this, TQT_SLOT( copy() ), actionCollection(), "copy" ); KStdAction::cut(this, TQT_SLOT( cut() ), actionCollection(), "cut" ); // Note: Prefer KStdAction::* to any custom action if possible. - //m_cut = new KAction( i18n("&Cut"), "editcut", 0, this, TQT_SLOT( cut() ), + //m_cut = new TDEAction( i18n("&Cut"), "editcut", 0, this, TQT_SLOT( cut() ), // actionCollection(), "cut"); } diff --git a/example/example_view.h b/example/example_view.h index 30ff91327..527fe9a41 100644 --- a/example/example_view.h +++ b/example/example_view.h @@ -22,7 +22,7 @@ #include <KoView.h> -class KAction; +class TDEAction; class TQPaintEvent; class ExamplePart; @@ -44,7 +44,7 @@ protected: virtual void updateReadWrite( bool readwrite ); private: - //KAction* m_cut; + //TDEAction* m_cut; }; #endif |
