diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-07-09 02:23:29 +0000 |
commit | 7c71ab86d1f7e387fc3df63b48df07231f111862 (patch) | |
tree | 30ba2d2f840ff5fd458b6113e9c3f2e8a71d510d /kexi/plugins/tables/kexitabledesignerview.cpp | |
parent | afbfdc507bfaafc8824a9808311d57a9ece87510 (diff) | |
download | koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.tar.gz koffice-7c71ab86d1f7e387fc3df63b48df07231f111862.zip |
Remove the tq in front of these incorrectly TQt4-converted methods/data members:
tqrepaint[...]
tqinvalidate[...]
tqparent[...]
tqmask[...]
tqlayout[...]
tqalignment[...]
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1240522 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/plugins/tables/kexitabledesignerview.cpp')
-rw-r--r-- | kexi/plugins/tables/kexitabledesignerview.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kexi/plugins/tables/kexitabledesignerview.cpp b/kexi/plugins/tables/kexitabledesignerview.cpp index a612453a..2f6cd21c 100644 --- a/kexi/plugins/tables/kexitabledesignerview.cpp +++ b/kexi/plugins/tables/kexitabledesignerview.cpp @@ -588,13 +588,13 @@ tristate KexiTableDesignerView::beforeSwitchTo(int mode, bool &dontStore) else */ tristate res = true; if (mode==Kexi::DataViewMode) { - if (!dirty() && tqparentDialog()->neverSaved()) { + if (!dirty() && parentDialog()->neverSaved()) { KMessageBox::sorry(this, i18n("Cannot switch to data view, because table design is empty.\n" "First, please create your design.") ); return cancelled; } //<temporary> - else if (dirty() && !tqparentDialog()->neverSaved()) { + else if (dirty() && !parentDialog()->neverSaved()) { // cancelled = (KMessageBox::No == KMessageBox::questionYesNo(this, i18n("Saving changes for existing table design is not yet supported.\nDo you want to discard your changes now?"))); // KexiDB::Connection *conn = mainWin()->project()->dbConnection(); @@ -1406,7 +1406,7 @@ KexiDB::SchemaData* KexiTableDesignerView::storeNewData(const KexiDB::SchemaData KexiDB::Connection *conn = mainWin()->project()->dbConnection(); res = conn->createTable(tempData()->table); if (res!=true) - tqparentDialog()->settqStatus(conn, ""); + parentDialog()->settqStatus(conn, ""); } if (res == true) { @@ -1489,7 +1489,7 @@ tristate KexiTableDesignerView::storeData(bool dontAsk) res = conn->alterTable(*tempData()->table, *newTable); if (res != true) - tqparentDialog()->settqStatus(conn, ""); + parentDialog()->settqStatus(conn, ""); } else { KexiDB::AlterTableHandler::ExecutionArguments args; @@ -1499,7 +1499,7 @@ tristate KexiTableDesignerView::storeData(bool dontAsk) << res.toString() << endl; if (true != res) { alterTableHandler->debugError(); - tqparentDialog()->settqStatus(alterTableHandler, ""); + parentDialog()->settqStatus(alterTableHandler, ""); } } } @@ -1521,7 +1521,7 @@ tristate KexiTableDesignerView::simulateAlterTableExecution(TQString *debugTarge { #ifndef KEXI_NO_UNDOREDO_ALTERTABLE # ifdef KEXI_DEBUG_GUI - if (mainWin()->activeWindow() != tqparentDialog()) //to avoid executing for multiple alter table views + if (mainWin()->activeWindow() != parentDialog()) //to avoid executing for multiple alter table views return false; if (!tempData()->table || !m_dialog->schemaData()) return false; @@ -1566,7 +1566,7 @@ tristate KexiTableDesignerView::executeRealAlterTable() KexiTablePart::TempData* KexiTableDesignerView::tempData() const { - return static_cast<KexiTablePart::TempData*>(tqparentDialog()->tempData()); + return static_cast<KexiTablePart::TempData*>(parentDialog()->tempData()); } /*void KexiTableDesignerView::slotAboutToUpdateRow( @@ -1910,10 +1910,10 @@ void KexiTableDesignerView::propertySetSwitched() { KexiDataTable::propertySetSwitched(); - //if (tqparentDialog()!=tqparentDialog()->mainWin()->currentDialog()) + //if (parentDialog()!=parentDialog()->mainWin()->currentDialog()) // return; //this is not the current dialog's view - static_cast<KexiTablePart*>(tqparentDialog()->part())->lookupColumnPage() + static_cast<KexiTablePart*>(parentDialog()->part())->lookupColumnPage() ->assignPropertySet(propertySet()); } |