From ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 12 Jan 2024 11:17:33 +0900 Subject: Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines Signed-off-by: Michele Calgaro --- KDE3PORTING.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'KDE3PORTING.html') diff --git a/KDE3PORTING.html b/KDE3PORTING.html index d2b7bcedf..ba92f9313 100644 --- a/KDE3PORTING.html +++ b/KDE3PORTING.html @@ -155,9 +155,9 @@ not be available.
  • TDEAccel::insertItem() and TDEAccel::connectItem().
     	- tdeaccel->insertItem( i18n("Scroll Up"), "Scroll Up", "Up" );
    -	- tdeaccel->connectItem( "Scroll Up", this, TQT_SLOT(scrollUp()) );
    +	- tdeaccel->connectItem( "Scroll Up", this, TQ_SLOT(scrollUp()) );
     	+ tdeaccel->insert( "Scroll Up", i18n("Scroll Up"), TQString::null,
    -		Key_Up, this, TQT_SLOT(scrollUp()) );
    +		Key_Up, this, TQ_SLOT(scrollUp()) );
     
    Note that a What's This parameter is now a part of the insert function. You might replace the TQString::null parameter with @@ -176,7 +176,7 @@ not be available. The preferred means of defining a shortcut, however, is to use TDEAction.
     	new TDEAction( i18n("Scroll Up"), Key_Up,
    -		this, TQT_SLOT(scrollUp()), actionCollection(), "Scroll Up" );
    +		this, TQ_SLOT(scrollUp()), actionCollection(), "Scroll Up" );
     
    TDEGlobalAccel
    -- cgit v1.2.3