summaryrefslogtreecommitdiffstats
path: root/kxmleditor
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 16:37:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-28 16:44:53 +0900
commit4d0e92e869aeab286a753010ee87be3bd30cafe4 (patch)
tree7d5a63225f7516ec924502bbbfcabf5d00ebd61f /kxmleditor
parent80d4c1120d98af73d048b059d4464fcecc71c07b (diff)
downloadkxmleditor-4d0e92e869aeab286a753010ee87be3bd30cafe4.tar.gz
kxmleditor-4d0e92e869aeab286a753010ee87be3bd30cafe4.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kxmleditor')
-rw-r--r--kxmleditor/kxmleditorshell.cpp40
1 files changed, 20 insertions, 20 deletions
diff --git a/kxmleditor/kxmleditorshell.cpp b/kxmleditor/kxmleditorshell.cpp
index 91188d0..57d407a 100644
--- a/kxmleditor/kxmleditorshell.cpp
+++ b/kxmleditor/kxmleditorshell.cpp
@@ -56,26 +56,26 @@ KXMLEditorShell::KXMLEditorShell( const char * name, WFlags f )
setXMLFile("kxmleditorshell.rc");
- KStdAction::openNew( this,SLOT(slotActFileNew()),actionCollection() );
- KStdAction::open( this, SLOT(slotFileOpen()), actionCollection() );
- m_pActFileOpenRecent = KStdAction::openRecent( this, SLOT(slotFileOpenRecent(const KURL&)), actionCollection() );
+ KStdAction::openNew( this,TQ_SLOT(slotActFileNew()),actionCollection() );
+ KStdAction::open( this, TQ_SLOT(slotFileOpen()), actionCollection() );
+ m_pActFileOpenRecent = KStdAction::openRecent( this, TQ_SLOT(slotFileOpenRecent(const KURL&)), actionCollection() );
m_pActFileOpenRecent->loadEntries( instance()->config() );
- m_pActReload = new TDEAction( i18n("Reloa&d"), "reload", Key_F5, this, SLOT(slotFileReload()), actionCollection(), "reload" );
+ m_pActReload = new TDEAction( i18n("Reloa&d"), "reload", Key_F5, this, TQ_SLOT(slotFileReload()), actionCollection(), "reload" );
- TDEToggleAction * pActToggleMainToolBar = KStdAction::showToolbar( this, SLOT(slotToggleMainToolBar()), actionCollection() );
- TDEToggleAction * pActToggleStatusBar = KStdAction::showStatusbar( this, SLOT(slotToggleStatusBar()), actionCollection() );
- KStdAction::keyBindings( this, SLOT(slotConfigureKeys()), actionCollection() );
- KStdAction::configureToolbars( this, SLOT(slotConfigureToolbars()), actionCollection() );
+ TDEToggleAction * pActToggleMainToolBar = KStdAction::showToolbar( this, TQ_SLOT(slotToggleMainToolBar()), actionCollection() );
+ TDEToggleAction * pActToggleStatusBar = KStdAction::showStatusbar( this, TQ_SLOT(slotToggleStatusBar()), actionCollection() );
+ KStdAction::keyBindings( this, TQ_SLOT(slotConfigureKeys()), actionCollection() );
+ KStdAction::configureToolbars( this, TQ_SLOT(slotConfigureToolbars()), actionCollection() );
- KStdAction::mail( this, SLOT(mail()), actionCollection() );
- KStdAction::close( this, SLOT(slotActClose()), actionCollection() );
- KStdAction::quit( this, SLOT(close()), actionCollection());
+ KStdAction::mail( this, TQ_SLOT(mail()), actionCollection() );
+ KStdAction::close( this, TQ_SLOT(slotActClose()), actionCollection() );
+ KStdAction::quit( this, TQ_SLOT(close()), actionCollection());
// L.V. moved to part pActPrint = KStdAction::print( 0, 0, actionCollection(), "print" );
- pActCloseW = new TDEAction( i18n("&Close"), 0, 0, this,SLOT(slotActWindowClose()), actionCollection(), "window_close" );
- pActCloseAllW = new TDEAction( i18n("Close &all"), 0, 0, this,SLOT(slotActWindowCloseAll()), actionCollection(), "window_close_all" );
- pActCloseAllO = new TDEAction( i18n("Close all &others"), 0, 0, this,SLOT(slotActWindowCloseAllOthers()), actionCollection(), "window_close_all_others" );
+ pActCloseW = new TDEAction( i18n("&Close"), 0, 0, this,TQ_SLOT(slotActWindowClose()), actionCollection(), "window_close" );
+ pActCloseAllW = new TDEAction( i18n("Close &all"), 0, 0, this,TQ_SLOT(slotActWindowCloseAll()), actionCollection(), "window_close_all" );
+ pActCloseAllO = new TDEAction( i18n("Close all &others"), 0, 0, this,TQ_SLOT(slotActWindowCloseAllOthers()), actionCollection(), "window_close_all_others" );
//////////////////////////////
// CREATE STATUSBAR
@@ -355,8 +355,8 @@ void KXMLEditorShell::setPart(KParts::ReadWritePart* pPart)
{
if(pPart)
{
- connect(static_cast <KXMLEditorPart *> (pPart), SIGNAL(sigAddRecentURL(const KURL &)),
- this, SLOT(slotAddRecentURL(const KURL &)) );
+ connect(static_cast <KXMLEditorPart *> (pPart), TQ_SIGNAL(sigAddRecentURL(const KURL &)),
+ this, TQ_SLOT(slotAddRecentURL(const KURL &)) );
}
}
@@ -372,9 +372,9 @@ void KXMLEditorShell::setPart(KParts::ReadWritePart* pPart)
KParts::BrowserExtension * pBrowserExt = 0;
if ( (pBrowserExt = KParts::BrowserExtension::childObject(pPart)) ) // if there is one
{
- connect( pBrowserExt, SIGNAL(enableAction( const char *, bool )), this, SLOT(slotEnableBrowserExtActions( const char *, bool )) );
+ connect( pBrowserExt, TQ_SIGNAL(enableAction( const char *, bool )), this, TQ_SLOT(slotEnableBrowserExtActions( const char *, bool )) );
- // L.V. moved to part. connect(pActPrint,SIGNAL(activated()),pBrowserExt, SLOT(print()));
+ // L.V. moved to part. connect(pActPrint,TQ_SIGNAL(activated()),pBrowserExt, TQ_SLOT(print()));
//pActPrint->setEnabled(pBrowserExt->isActionEnabled("print"));
}
@@ -395,7 +395,7 @@ void KXMLEditorShell::setPart(KParts::ReadWritePart* pPart)
if(!m_windowMenu)
kdDebug() << "KXMLEditorShell::setPart - m_windowMenu is NULL" << endl;
else
- connect(m_windowMenu,SIGNAL(aboutToShow()),this,SLOT(slotBeforeWindowMenuShown()));
+ connect(m_windowMenu,TQ_SIGNAL(aboutToShow()),this,TQ_SLOT(slotBeforeWindowMenuShown()));
}
KParts::ReadWritePart* KXMLEditorShell::createXMLPart(TQObject *parent)
@@ -476,7 +476,7 @@ void KXMLEditorShell::slotBeforeWindowMenuShown()
TQPtrListIterator<KXMLEditorShell> it (*(manager()->shells()));
for (it.toFirst(); it.current();++it)
{
- int id = m_windowMenu->insertItem(it.current()->caption(),it.current(),SLOT(slotActivate()));
+ int id = m_windowMenu->insertItem(it.current()->caption(),it.current(),TQ_SLOT(slotActivate()));
m_windowMenu->setItemChecked(id,it.current()==this);
}
}