diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 22:19:39 +0000 |
commit | 625904bd3097f9749450428904ca14ff2531824d (patch) | |
tree | a45c43d5de71cb720078fa1272a4339815a919be /ksim/library/pluginmodule.cpp | |
parent | 6335dc55802871b5a43492f217b6edbb420204c4 (diff) | |
download | tdeutils-625904bd3097f9749450428904ca14ff2531824d.tar.gz tdeutils-625904bd3097f9749450428904ca14ff2531824d.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksim/library/pluginmodule.cpp')
-rw-r--r-- | ksim/library/pluginmodule.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/ksim/library/pluginmodule.cpp b/ksim/library/pluginmodule.cpp index f3b941c..abe6609 100644 --- a/ksim/library/pluginmodule.cpp +++ b/ksim/library/pluginmodule.cpp @@ -77,19 +77,19 @@ class KSim::PluginPage::Private { public: KConfig *config; - KSim::PluginObject *tqparent; + KSim::PluginObject *parent; }; -KSim::PluginPage::PluginPage(KSim::PluginObject *tqparent, const char *name) +KSim::PluginPage::PluginPage(KSim::PluginObject *parent, const char *name) : TQWidget(0, name) { d = new PluginPage::Private; - d->tqparent = tqparent; - if (tqparent && !tqparent->configFileName().isEmpty()) - d->config = new KConfig(tqparent->configFileName() + "rc"); + d->parent = parent; + if (parent && !parent->configFileName().isEmpty()) + d->config = new KConfig(parent->configFileName() + "rc"); else { kdWarning() << className() << ": Can not create the config() " - "pointer due to the tqparent being null" << endl; + "pointer due to the parent being null" << endl; d->config = 0; } } @@ -111,25 +111,25 @@ KConfig *KSim::PluginPage::config() const class KSim::PluginView::Private { public: - PluginObject *tqparent; + PluginObject *parent; TQPopupMenu *popupMenu; KConfig *config; }; -KSim::PluginView::PluginView(KSim::PluginObject *tqparent, const char *name) +KSim::PluginView::PluginView(KSim::PluginObject *parent, const char *name) : TQWidget(0, name) { d = new PluginView::Private; - d->tqparent = tqparent; + d->parent = parent; d->popupMenu = new TQPopupMenu(this); d->popupMenu->insertItem(i18n("About"), this, TQT_SLOT(showAbout()), 0, -1, 0); - if (tqparent && !tqparent->configFileName().isEmpty()) - d->config = new KConfig(tqparent->configFileName() + "rc"); + if (parent && !parent->configFileName().isEmpty()) + d->config = new KConfig(parent->configFileName() + "rc"); else { kdWarning() << className() << ": Can not create the config() " - "pointer due to the tqparent being null" << endl; + "pointer due to the parent being null" << endl; d->config = 0; } } @@ -165,7 +165,7 @@ void KSim::PluginView::mousePressEvent(TQMouseEvent *ev) KSim::PluginObject *KSim::PluginView::parentPlugin() const { - return d->tqparent; + return d->parent; } void KSim::PluginView::showAbout() |