summaryrefslogtreecommitdiffstats
path: root/tdeparts/browserextension.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 11:17:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-12 12:39:52 +0900
commitba3b5b77e1a430dc7197df20872ba46ce2fb6fa7 (patch)
treed8b80b41bf117fe1d5caa7e7faecfab523e81153 /tdeparts/browserextension.cpp
parent5d320b587ba28fa3c4745e1555aff74d5651783e (diff)
downloadtdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.tar.gz
tdelibs-ba3b5b77e1a430dc7197df20872ba46ce2fb6fa7.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeparts/browserextension.cpp')
-rw-r--r--tdeparts/browserextension.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/tdeparts/browserextension.cpp b/tdeparts/browserextension.cpp
index ec31eea3e..9b134819d 100644
--- a/tdeparts/browserextension.cpp
+++ b/tdeparts/browserextension.cpp
@@ -377,14 +377,14 @@ BrowserExtension::BrowserExtension( KParts::ReadOnlyPart *parent,
d->m_actionStatus.setBit( i, slotNames.contains( it.key()+"()" ) );
}
- connect( m_part, TQT_SIGNAL( completed() ),
- this, TQT_SLOT( slotCompleted() ) );
- connect( this, TQT_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
- this, TQT_SLOT( slotOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
- connect( this, TQT_SIGNAL( enableAction( const char *, bool ) ),
- this, TQT_SLOT( slotEnableAction( const char *, bool ) ) );
- connect( this, TQT_SIGNAL( setActionText( const char *, const TQString& ) ),
- this, TQT_SLOT( slotSetActionText( const char *, const TQString& ) ) );
+ connect( m_part, TQ_SIGNAL( completed() ),
+ this, TQ_SLOT( slotCompleted() ) );
+ connect( this, TQ_SIGNAL( openURLRequest( const KURL &, const KParts::URLArgs & ) ),
+ this, TQ_SLOT( slotOpenURLRequest( const KURL &, const KParts::URLArgs & ) ) );
+ connect( this, TQ_SIGNAL( enableAction( const char *, bool ) ),
+ this, TQ_SLOT( slotEnableAction( const char *, bool ) ) );
+ connect( this, TQ_SIGNAL( setActionText( const char *, const TQString& ) ),
+ this, TQ_SLOT( slotSetActionText( const char *, const TQString& ) ) );
}
BrowserExtension::~BrowserExtension()
@@ -496,7 +496,7 @@ void BrowserExtension::slotOpenURLRequest( const KURL &url, const KParts::URLArg
req.m_delayedURL = url;
req.m_delayedArgs = args;
d->m_requests.append( req );
- TQTimer::singleShot( 0, this, TQT_SLOT( slotEmitOpenURLRequestDelayed() ) );
+ TQTimer::singleShot( 0, this, TQ_SLOT( slotEmitOpenURLRequestDelayed() ) );
}
void BrowserExtension::slotEmitOpenURLRequestDelayed()
@@ -576,19 +576,19 @@ void BrowserExtension::createActionSlotMap()
assert(!s_actionSlotMap);
s_actionSlotMap = actionSlotMapsd.setObject( s_actionSlotMap, new ActionSlotMap );
- s_actionSlotMap->insert( "cut", TQT_SLOT( cut() ) );
- s_actionSlotMap->insert( "copy", TQT_SLOT( copy() ) );
- s_actionSlotMap->insert( "paste", TQT_SLOT( paste() ) );
- s_actionSlotMap->insert( "rename", TQT_SLOT( rename() ) );
- s_actionSlotMap->insert( "trash", TQT_SLOT( trash() ) );
- s_actionSlotMap->insert( "del", TQT_SLOT( del() ) );
- s_actionSlotMap->insert( "properties", TQT_SLOT( properties() ) );
- s_actionSlotMap->insert( "editMimeType", TQT_SLOT( editMimeType() ) );
- s_actionSlotMap->insert( "print", TQT_SLOT( print() ) );
+ s_actionSlotMap->insert( "cut", TQ_SLOT( cut() ) );
+ s_actionSlotMap->insert( "copy", TQ_SLOT( copy() ) );
+ s_actionSlotMap->insert( "paste", TQ_SLOT( paste() ) );
+ s_actionSlotMap->insert( "rename", TQ_SLOT( rename() ) );
+ s_actionSlotMap->insert( "trash", TQ_SLOT( trash() ) );
+ s_actionSlotMap->insert( "del", TQ_SLOT( del() ) );
+ s_actionSlotMap->insert( "properties", TQ_SLOT( properties() ) );
+ s_actionSlotMap->insert( "editMimeType", TQ_SLOT( editMimeType() ) );
+ s_actionSlotMap->insert( "print", TQ_SLOT( print() ) );
// Tricky. Those aren't actions in fact, but simply methods that a browserextension
// can have or not. No need to return them here.
- //s_actionSlotMap->insert( "reparseConfiguration", TQT_SLOT( reparseConfiguration() ) );
- //s_actionSlotMap->insert( "refreshMimeTypes", TQT_SLOT( refreshMimeTypes() ) );
+ //s_actionSlotMap->insert( "reparseConfiguration", TQ_SLOT( reparseConfiguration() ) );
+ //s_actionSlotMap->insert( "refreshMimeTypes", TQ_SLOT( refreshMimeTypes() ) );
// nothing for setSaveViewPropertiesLocally either
// Create the action-number map