summaryrefslogtreecommitdiffstats
path: root/src/entryeditdialog.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
commit89c017c3d5126cabd96acce26f538b37b48c085f (patch)
tree115673043b52ffe2e5f8b01ebcd7b886e0a1318b /src/entryeditdialog.cpp
parent0254ebaa5e056092461fd585b6851d15faa43035 (diff)
downloadtellico-89c017c3d5126cabd96acce26f538b37b48c085f.tar.gz
tellico-89c017c3d5126cabd96acce26f538b37b48c085f.zip
rename the following methods:
tqparent parent tqmask mask git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/tellico@1246260 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/entryeditdialog.cpp')
-rw-r--r--src/entryeditdialog.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/entryeditdialog.cpp b/src/entryeditdialog.cpp
index 6fc90fa..e185b24 100644
--- a/src/entryeditdialog.cpp
+++ b/src/entryeditdialog.cpp
@@ -155,12 +155,12 @@ void EntryEditDialog::setLayout(Data::CollPtr coll_) {
// if this tqlayout model is changed, be sure to check slotUpdateField()
TQWidget* page = new TQWidget(m_tabs);
- // (tqparent, margin, spacing)
+ // (parent, margin, spacing)
TQVBoxLayout* boxLayout = new TQVBoxLayout(page, 0, 0);
TQWidget* grid = new TQWidget(page);
gridList.append(grid);
- // (tqparent, nrows, ncols, margin, spacing)
+ // (parent, nrows, ncols, margin, spacing)
// spacing gets a bit weird, if there are absolutely no Choice fields,
// then spacing should be 5, which is set later
TQGridLayout* tqlayout = new TQGridLayout(grid, 0, NCOLS, 8, 2);
@@ -249,7 +249,7 @@ void EntryEditDialog::setLayout(Data::CollPtr coll_) {
}
// I don't want anything to be hidden, Keramik has a bug if I don't do this
it.current()->setMinimumHeight(it.current()->tqsizeHint().height());
- // the tqparent of the grid is the page that got added to the tabs
+ // the parent of the grid is the page that got added to the tabs
it.current()->parentWidget()->tqlayout()->tqinvalidate();
it.current()->parentWidget()->setMinimumHeight(it.current()->parentWidget()->tqsizeHint().height());
}
@@ -560,7 +560,7 @@ void EntryEditDialog::removeField(Data::CollPtr, Data::FieldPtr field_) {
// so the category should be gone from the category list
if(m_currColl->fieldCategories().findIndex(field_->category()) == -1) {
// myDebug() << "last field in the category" << endl;
- // fragile, widget's tqparent is the grid, whose tqparent is the tab page
+ // fragile, widget's parent is the grid, whose parent is the tab page
TQWidget* w = widget->parentWidget()->parentWidget();
m_tabs->removePage(w);
delete w; // automatically deletes child widget
@@ -716,7 +716,7 @@ void EntryEditDialog::modifyField(Data::CollPtr coll_, Data::FieldPtr oldField_,
delete childList;
}
// this is very fragile!
- // field widgets's tqparent is the grid, whose tqparent is the tab page
+ // field widgets's parent is the grid, whose parent is the tab page
// this is for singleCategory fields
if(newField_->category() != oldField_->category()) {
m_tabs->setTabLabel(widget->parentWidget()->parentWidget(), newField_->category());