summaryrefslogtreecommitdiffstats
path: root/cervisia/cervisiashell.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-12 01:36:19 +0000
commit99a2774ca6f1cab334de5d43fe36fc44ae889a4c (patch)
treeeff34cf0762227f6baf2a93e8fef48d4bed2651c /cervisia/cervisiashell.cpp
parent1c104292188541106338d4940b0f04beeb4301a0 (diff)
downloadtdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.tar.gz
tdesdk-99a2774ca6f1cab334de5d43fe36fc44ae889a4c.zip
TQt4 convert kdesdk
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdesdk@1236185 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'cervisia/cervisiashell.cpp')
-rw-r--r--cervisia/cervisiashell.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cervisia/cervisiashell.cpp b/cervisia/cervisiashell.cpp
index eb0518e2..53e42bf1 100644
--- a/cervisia/cervisiashell.cpp
+++ b/cervisia/cervisiashell.cpp
@@ -43,7 +43,7 @@ CervisiaShell::CervisiaShell( const char *name )
KLibFactory* factory = KLibLoader::self()->factory("libcervisiapart");
if( factory )
{
- m_part = static_cast<KParts::ReadOnlyPart*>(factory->create(this,
+ m_part = static_cast<KParts::ReadOnlyPart*>(factory->create(TQT_TQOBJECT(this),
"cervisiaview", "KParts::ReadOnlyPart"));
if( m_part )
setCentralWidget(m_part->widget());
@@ -92,19 +92,19 @@ void CervisiaShell::setupActions()
{
setStandardToolBarMenuEnabled( true );
- KAction *action = KStdAction::configureToolbars( this, TQT_SLOT(slotConfigureToolBars()),
+ KAction *action = KStdAction::configureToolbars( TQT_TQOBJECT(this), TQT_SLOT(slotConfigureToolBars()),
actionCollection() );
TQString hint = i18n("Allows you to configure the toolbar");
action->setToolTip( hint );
action->setWhatsThis( hint );
- action = KStdAction::keyBindings( this, TQT_SLOT(slotConfigureKeys()),
+ action = KStdAction::keyBindings( TQT_TQOBJECT(this), TQT_SLOT(slotConfigureKeys()),
actionCollection() );
hint = i18n("Allows you to customize the keybindings");
action->setToolTip( hint );
action->setWhatsThis( hint );
- action = KStdAction::quit( kapp, TQT_SLOT( quit() ), actionCollection() );
+ action = KStdAction::quit( TQT_TQOBJECT(kapp), TQT_SLOT( quit() ), actionCollection() );
hint = i18n("Exits Cervisia");
action->setToolTip( hint );
action->setWhatsThis( hint );