summaryrefslogtreecommitdiffstats
path: root/korganizer/korganizer_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 /korganizer/korganizer_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 'korganizer/korganizer_part.cpp')
-rw-r--r--korganizer/korganizer_part.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/korganizer/korganizer_part.cpp b/korganizer/korganizer_part.cpp
index 65511bd18..cc6252d57 100644
--- a/korganizer/korganizer_part.cpp
+++ b/korganizer/korganizer_part.cpp
@@ -66,10 +66,10 @@
typedef KParts::GenericFactory< KOrganizerPart > KOrganizerFactory;
K_EXPORT_COMPONENT_FACTORY( libkorganizerpart, KOrganizerFactory )
-KOrganizerPart::KOrganizerPart( TQWidget *parentWidget, const char *widgetName,
+KOrganizerPart::KOrganizerPart( TQWidget *tqparentWidget, const char *widgetName,
TQObject *parent, const char *name,
const TQStringList & ) :
- KParts::ReadOnlyPart(parent, name), mTopLevelWidget( parentWidget->topLevelWidget() )
+ KParts::ReadOnlyPart(parent, name), mTopLevelWidget( tqparentWidget->tqtopLevelWidget() )
{
KGlobal::locale()->insertCatalogue( "libkcal" );
KGlobal::locale()->insertCatalogue( "libkdepim" );
@@ -80,7 +80,7 @@ KOrganizerPart::KOrganizerPart( TQWidget *parentWidget, const char *widgetName,
TQString pname( name );
// 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 );
mView = new CalendarView( canvas );
@@ -155,9 +155,9 @@ void KOrganizerPart::slotChangeInfo( Incidence *incidence, const TQDate & )
}
}
-TQWidget *KOrganizerPart::topLevelWidget()
+TQWidget *KOrganizerPart::tqtopLevelWidget()
{
- return mView->topLevelWidget();
+ return mView->tqtopLevelWidget();
}
ActionManager *KOrganizerPart::actionManager()