summaryrefslogtreecommitdiffstats
path: root/kaddressbook/kaddressbook_part.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-02-16 20:17:18 +0000
commitf4fae92b6768541e2952173c3d4b09040f95bf7e (patch)
treed8c5d93232235cd635f3310b4d95490df181ba2d /kaddressbook/kaddressbook_part.cpp
parent125c0a08265b75a133644d3b55f47e37c919f45d (diff)
downloadtdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.tar.gz
tdepim-f4fae92b6768541e2952173c3d4b09040f95bf7e.zip
Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kaddressbook/kaddressbook_part.cpp')
-rw-r--r--kaddressbook/kaddressbook_part.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kaddressbook/kaddressbook_part.cpp b/kaddressbook/kaddressbook_part.cpp
index 34e651846..39216b8f4 100644
--- a/kaddressbook/kaddressbook_part.cpp
+++ b/kaddressbook/kaddressbook_part.cpp
@@ -42,7 +42,7 @@
typedef KParts::GenericFactory< KAddressbookPart > KAddressbookFactory;
K_EXPORT_COMPONENT_FACTORY( libkaddressbookpart, KAddressbookFactory )
-KAddressbookPart::KAddressbookPart( TQWidget *parentWidget, const char *widgetName,
+KAddressbookPart::KAddressbookPart( TQWidget *tqparentWidget, const char *widgetName,
TQObject *parent, const char *name,
const TQStringList & )
: DCOPObject( "KAddressBookIface" ), KParts::ReadOnlyPart( parent, name )
@@ -50,7 +50,7 @@ KAddressbookPart::KAddressbookPart( TQWidget *parentWidget, const char *widgetNa
setInstance( KAddressbookFactory::instance() );
// create a canvas to insert our widget
- TQWidget *canvas = new TQWidget( parentWidget, widgetName );
+ TQWidget *canvas = new TQWidget( tqparentWidget, widgetName );
canvas->setFocusPolicy( TQWidget::ClickFocus );
setWidget( canvas );
@@ -63,7 +63,7 @@ KAddressbookPart::KAddressbookPart( TQWidget *parentWidget, const char *widgetNa
topLayout->addWidget( mCore->widget() );
KParts::StatusBarExtension *statusBar = new KParts::StatusBarExtension( this );
- mCore->setStatusBar( statusBar->statusBar() );
+ mCore->seStatusBar( statusBar->statusBar() );
setXMLFile( "kaddressbook_part.rc" );
}