diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-16 20:17:18 +0000 |
commit | f4fae92b6768541e2952173c3d4b09040f95bf7e (patch) | |
tree | d8c5d93232235cd635f3310b4d95490df181ba2d /kaddressbook/kaddressbook_part.cpp | |
parent | 125c0a08265b75a133644d3b55f47e37c919f45d (diff) | |
download | tdepim-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.cpp | 6 |
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" ); } |