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 | 04766b207afba7961d4d802313e426f5a2fbef63 (patch) | |
tree | c888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/formeditor/formmanager.cpp | |
parent | b6edfe41c9395f2e20784cbf0e630af6426950a3 (diff) | |
download | koffice-04766b207afba7961d4d802313e426f5a2fbef63.tar.gz koffice-04766b207afba7961d4d802313e426f5a2fbef63.zip |
rename the following methods:
tqparent parent
tqmask mask
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/formeditor/formmanager.cpp')
-rw-r--r-- | kexi/formeditor/formmanager.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/kexi/formeditor/formmanager.cpp b/kexi/formeditor/formmanager.cpp index 66948abb..ce25d710 100644 --- a/kexi/formeditor/formmanager.cpp +++ b/kexi/formeditor/formmanager.cpp @@ -83,8 +83,8 @@ namespace KFormDesigner { class PropertyFactory : public KoProperty::CustomPropertyFactory { public: - PropertyFactory(TQObject *tqparent) - : KoProperty::CustomPropertyFactory(tqparent) + PropertyFactory(TQObject *parent) + : KoProperty::CustomPropertyFactory(parent) // m_manager(manager) { } @@ -105,8 +105,8 @@ using namespace KFormDesigner; static KStaticDeleter<FormManager> m_managerDeleter; FormManager* FormManager::_self = 0L; -FormManager::FormManager(TQObject *tqparent, int options, const char *name) - : TQObject(tqparent, name) +FormManager::FormManager(TQObject *parent, int options, const char *name) + : TQObject(parent, name) #ifdef KEXI_DEBUG_GUI , m_uiCodeDialog(0) , m_options(options) @@ -698,7 +698,7 @@ FormManager::isTopLevel(TQWidget *w) if(!item) return true; - return (!item->tqparent()); + return (!item->parent()); } void @@ -734,8 +734,8 @@ FormManager::copyWidget() // We clear the current clipboard m_domDoc.setContent(TQString(), true); - TQDomElement tqparent = m_domDoc.createElement("UI"); - m_domDoc.appendChild(tqparent); + TQDomElement parent = m_domDoc.createElement("UI"); + m_domDoc.appendChild(parent); TQWidget *w; for(w = list->first(); w; w = list->next()) @@ -744,10 +744,10 @@ FormManager::copyWidget() if (!it) continue; - FormIO::saveWidget(it, tqparent, m_domDoc); + FormIO::saveWidget(it, parent, m_domDoc); } - FormIO::cleanClipboard(tqparent); + FormIO::cleanClipboard(parent); activeForm()->emitActionSignals(); // to update 'Paste' item state } @@ -845,7 +845,7 @@ FormManager::createContextMenu(TQWidget *w, Container *container, bool popupAtCu const uint widgetsCount = container->form()->selectedWidgets()->count(); const bool multiple = widgetsCount > 1; //const bool enableRemove = w != m_active->widget(); - // We only enabletqlayout creation if more than one widget with the same tqparent are selected + // We only enabletqlayout creation if more than one widget with the same parent are selected const bool enableLayout = multiple || w == container->widget(); m_menuWidget = w; @@ -1109,15 +1109,15 @@ FormManager::createLayout(int layoutType) return; } - TQWidget *tqparent = list->first()->parentWidget(); + TQWidget *parent = list->first()->parentWidget(); for(TQWidget *w = list->first(); w; w = list->next()) { - kdDebug() << "comparing widget " << w->name() << " whose tqparent is " << w->parentWidget()->name() << " insteaed of " << tqparent->name() << endl; - if(w->parentWidget() != tqparent) + kdDebug() << "comparing widget " << w->name() << " whose parent is " << w->parentWidget()->name() << " insteaed of " << parent->name() << endl; + if(w->parentWidget() != parent) { KMessageBox::sorry(m_active->widget()->tqtopLevelWidget(), i18n("<b>Cannot create the tqlayout.</b>\n" - "All selected widgets must have the same tqparent.")); - kdDebug() << "FormManager::createLayout() widgets don't have the same tqparent widget" << endl; + "All selected widgets must have the same parent.")); + kdDebug() << "FormManager::createLayout() widgets don't have the same parent widget" << endl; return; } } @@ -1250,7 +1250,7 @@ FormManager::alignWidgets(int type) { if(w->parentWidget() != parentWidget) { - kdDebug() << "FormManager::alignWidgets() type ==" << type << " widgets don't have the same tqparent widget" << endl; + kdDebug() << "FormManager::alignWidgets() type ==" << type << " widgets don't have the same parent widget" << endl; return; } } |