summaryrefslogtreecommitdiffstats
path: root/kexi/plugins/tables/kexitablepart.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
commit04766b207afba7961d4d802313e426f5a2fbef63 (patch)
treec888ea1027c793e2d0386a7e5a1a0cd077b03cb3 /kexi/plugins/tables/kexitablepart.cpp
parentb6edfe41c9395f2e20784cbf0e630af6426950a3 (diff)
downloadkoffice-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/plugins/tables/kexitablepart.cpp')
-rw-r--r--kexi/plugins/tables/kexitablepart.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/tables/kexitablepart.cpp b/kexi/plugins/tables/kexitablepart.cpp
index 1ee3d049..4efd237a 100644
--- a/kexi/plugins/tables/kexitablepart.cpp
+++ b/kexi/plugins/tables/kexitablepart.cpp
@@ -54,8 +54,8 @@ class KexiTablePart::Private
TQGuardedPtr<KexiLookupColumnPage> lookupColumnPage;
};
-KexiTablePart::KexiTablePart(TQObject *tqparent, const char *name, const TQStringList &l)
- : KexiPart::Part(tqparent, name, l)
+KexiTablePart::KexiTablePart(TQObject *parent, const char *name, const TQStringList &l)
+ : KexiPart::Part(parent, name, l)
, d(new Private())
{
// REGISTERED ID:
@@ -96,7 +96,7 @@ KexiDialogTempData* KexiTablePart::createTempData(KexiDialogBase* dialog)
return new KexiTablePart::TempData(TQT_TQOBJECT(dialog));
}
-KexiViewBase* KexiTablePart::createView(TQWidget *tqparent, KexiDialogBase* dialog,
+KexiViewBase* KexiTablePart::createView(TQWidget *parent, KexiDialogBase* dialog,
KexiPart::Item &item, int viewMode, TQMap<TQString,TQString>*)
{
KexiMainWindow *win = dialog->mainWin();
@@ -111,7 +111,7 @@ KexiViewBase* KexiTablePart::createView(TQWidget *tqparent, KexiDialogBase* dial
}
if (viewMode == Kexi::DesignViewMode) {
- KexiTableDesignerView *t = new KexiTableDesignerView(win, tqparent);
+ KexiTableDesignerView *t = new KexiTableDesignerView(win, parent);
return t;
}
else if (viewMode == Kexi::DataViewMode) {
@@ -119,7 +119,7 @@ KexiViewBase* KexiTablePart::createView(TQWidget *tqparent, KexiDialogBase* dial
return 0; //todo: message
//we're not setting table schema here -it will be forced to set
// in KexiTableDesigner_DataView::afterSwitchFrom()
- KexiTableDesigner_DataView *t = new KexiTableDesigner_DataView(win, tqparent);
+ KexiTableDesigner_DataView *t = new KexiTableDesigner_DataView(win, parent);
return t;
}
return 0;
@@ -171,7 +171,7 @@ KexiTablePart::dataSource()
}
#endif
-tristate KexiTablePart::askForClosingObjectsUsingTableSchema(TQWidget *tqparent, KexiDB::Connection& conn,
+tristate KexiTablePart::askForClosingObjectsUsingTableSchema(TQWidget *parent, KexiDB::Connection& conn,
KexiDB::TableSchema& table, const TQString& msg)
{
TQPtrList<KexiDB::Connection::TableSchemaChangeListenerInterface>* listeners
@@ -185,7 +185,7 @@ tristate KexiTablePart::askForClosingObjectsUsingTableSchema(TQWidget *tqparent,
openedObjectsStr += TQString("<li>%1</li>").tqarg(it.current()->listenerInfoString);
}
openedObjectsStr += "</ul>";
- int r = KMessageBox::questionYesNo(tqparent,
+ int r = KMessageBox::questionYesNo(parent,
"<p>"+msg+"</p><p>"+openedObjectsStr+"</p><p>"
+i18n("Do you want to close all windows for these objects?"),
TQString(), KGuiItem(i18n("Close windows"),"fileclose"), KStdGuiItem::cancel());
@@ -278,8 +278,8 @@ KexiTableDataSource::cursor(KexiProject * /*project*/,
//----------------
-KexiTablePart::TempData::TempData(TQObject* tqparent)
- : KexiDialogTempData(tqparent)
+KexiTablePart::TempData::TempData(TQObject* parent)
+ : KexiDialogTempData(parent)
, table(0)
, tableSchemaChangedInPreviousView(true /*to force reloading on startup*/ )
{