diff options
author | Michele Calgaro <[email protected]> | 2024-01-04 10:30:32 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-01-13 20:22:52 +0900 |
commit | e1b37ac1936f81994a2c1aa2778298fbc757531f (patch) | |
tree | 2e2df5ea5786d581b10e51e0cbde9f4921697b2f /example | |
parent | d08f80f854355e446d1c6be0eb50166646f7f291 (diff) | |
download | koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.tar.gz koffice-e1b37ac1936f81994a2c1aa2778298fbc757531f.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit c0332621bc998c9786f4841e86a62b7711fe4abf)
Diffstat (limited to 'example')
-rw-r--r-- | example/example_view.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/example/example_view.cpp b/example/example_view.cpp index 1a8e07e1..a0ab2bdb 100644 --- a/example/example_view.cpp +++ b/example/example_view.cpp @@ -36,10 +36,10 @@ ExampleView::ExampleView( ExamplePart* part, TQWidget* parent, const char* name setXMLFile( "example_readonly.rc" ); // simplified GUI else setXMLFile( "example.rc" ); - KStdAction::copy(this, TQT_SLOT( copy() ), actionCollection(), "copy" ); - KStdAction::cut(this, TQT_SLOT( cut() ), actionCollection(), "cut" ); + KStdAction::copy(this, TQ_SLOT( copy() ), actionCollection(), "copy" ); + KStdAction::cut(this, TQ_SLOT( cut() ), actionCollection(), "cut" ); // Note: Prefer KStdAction::* to any custom action if possible. - //m_cut = new TDEAction( i18n("&Cut"), "edit-cut", 0, this, TQT_SLOT( cut() ), + //m_cut = new TDEAction( i18n("&Cut"), "edit-cut", 0, this, TQ_SLOT( cut() ), // actionCollection(), "cut"); } |