summaryrefslogtreecommitdiffstats
path: root/korganizer/kocore.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 22:19:39 +0000
commit36a36a5c1015aa0d03f4515c401e907ddb9d6291 (patch)
tree0212ba6d2c749043134005a41f2bd0379619d40f /korganizer/kocore.cpp
parent4c6f8d69e2d1501837affb472c4eb8fec4462240 (diff)
downloadtdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.tar.gz
tdepim-36a36a5c1015aa0d03f4515c401e907ddb9d6291.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'korganizer/kocore.cpp')
-rw-r--r--korganizer/kocore.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/korganizer/kocore.cpp b/korganizer/kocore.cpp
index ce5d0c25..b3781e2d 100644
--- a/korganizer/kocore.cpp
+++ b/korganizer/kocore.cpp
@@ -170,7 +170,7 @@ KOrg::CalendarDecoration *KOCore::loadCalendarDecoration( const TQString &name )
return 0;
}
-KOrg::Part *KOCore::loadPart( KService::Ptr service, KOrg::MainWindow *tqparent )
+KOrg::Part *KOCore::loadPart( KService::Ptr service, KOrg::MainWindow *parent )
{
kdDebug(5850) << "loadPart: library: " << service->library() << endl;
@@ -194,7 +194,7 @@ KOrg::Part *KOCore::loadPart( KService::Ptr service, KOrg::MainWindow *tqparent
return 0;
}
- return pluginFactory->create( tqparent );
+ return pluginFactory->create( parent );
}
KOrg::PrintPlugin *KOCore::loadPrintPlugin( KService::Ptr service )
@@ -244,13 +244,13 @@ KXMLGUIClient* KOCore::xmlguiClient( TQWidget *wdg ) const
return 0;
}
-KOrg::Part *KOCore::loadPart( const TQString &name, KOrg::MainWindow *tqparent )
+KOrg::Part *KOCore::loadPart( const TQString &name, KOrg::MainWindow *parent )
{
KTrader::OfferList list = availableParts();
KTrader::OfferList::ConstIterator it;
for( it = list.begin(); it != list.end(); ++it ) {
if ( (*it)->desktopEntryName() == name ) {
- return loadPart( *it, tqparent );
+ return loadPart( *it, parent );
}
}
return 0;
@@ -291,7 +291,7 @@ KOrg::CalendarDecoration::List KOCore::calendarDecorations()
return mCalendarDecorations;
}
-KOrg::Part::List KOCore::loadParts( KOrg::MainWindow *tqparent )
+KOrg::Part::List KOCore::loadParts( KOrg::MainWindow *parent )
{
KOrg::Part::List parts;
@@ -302,13 +302,13 @@ KOrg::Part::List KOCore::loadParts( KOrg::MainWindow *tqparent )
for( it = plugins.begin(); it != plugins.end(); ++it ) {
if ( selectedPlugins.find( (*it)->desktopEntryName() ) !=
selectedPlugins.end() ) {
- KOrg::Part *part = loadPart( *it, tqparent );
+ KOrg::Part *part = loadPart( *it, parent );
if ( part ) {
- if ( !tqparent->mainGuiClient() ) {
- kdError() << "KOCore::loadParts(): tqparent has no mainGuiClient."
+ if ( !parent->mainGuiClient() ) {
+ kdError() << "KOCore::loadParts(): parent has no mainGuiClient."
<< endl;
} else {
- tqparent->mainGuiClient()->insertChildClient( part );
+ parent->mainGuiClient()->insertChildClient( part );
parts.append( part );
}
}
@@ -346,26 +346,26 @@ void KOCore::unloadPlugins()
mCalendarDecorationsLoaded = false;
}
-void KOCore::unloadParts( KOrg::MainWindow *tqparent, KOrg::Part::List &parts )
+void KOCore::unloadParts( KOrg::MainWindow *parent, KOrg::Part::List &parts )
{
KOrg::Part *part;
for( part = parts.first(); part; part = parts.next() ) {
- tqparent->mainGuiClient()->removeChildClient( part );
+ parent->mainGuiClient()->removeChildClient( part );
delete part;
}
parts.clear();
}
-KOrg::Part::List KOCore::reloadParts( KOrg::MainWindow *tqparent,
+KOrg::Part::List KOCore::reloadParts( KOrg::MainWindow *parent,
KOrg::Part::List &parts )
{
- KXMLGUIFactory *factory = tqparent->mainGuiClient()->factory();
- factory->removeClient( tqparent->mainGuiClient() );
+ KXMLGUIFactory *factory = parent->mainGuiClient()->factory();
+ factory->removeClient( parent->mainGuiClient() );
- unloadParts( tqparent, parts );
- KOrg::Part::List list = loadParts( tqparent );
+ unloadParts( parent, parts );
+ KOrg::Part::List list = loadParts( parent );
- factory->addClient( tqparent->mainGuiClient() );
+ factory->addClient( parent->mainGuiClient() );
return list;
}