[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/kexi
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2006-01-16 17:30:22
Message-ID: 1137432622.534576.29766.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 498935 by staniek:

update for recent changes in Main Window API


 M  +2 -1      main/printing/kexisimpleprintingpagesetup.cpp  
 M  +5 -2      plugins/forms/kexidbfactory.cpp  
 M  +6 -2      widget/relations/kexirelationwidget.cpp  


--- trunk/koffice/kexi/main/printing/kexisimpleprintingpagesetup.cpp #498934:498935
@@ -482,7 +482,8 @@
 
 void KexiSimplePrintingPageSetup::slotOpenData()
 {
-	m_mainWin->openObject(m_item);
+	bool openingCancelled;
+	m_mainWin->openObject(m_item, Kexi::DataViewMode, openingCancelled);
 }
 
 void KexiSimplePrintingPageSetup::slotTitleTextChanged(const QString&)
--- trunk/koffice/kexi/plugins/forms/kexidbfactory.cpp #498934:498935
@@ -470,8 +470,11 @@
 		// open the form in design mode
 		KexiMainWindow *mainWin = KexiUtils::findParent<KexiMainWindow>(w, \
"KexiMainWindow");  KexiDBSubForm *subform = static_cast<KexiDBSubForm*>(w);
-		if(mainWin)
-			mainWin->openObject("kexi/form", subform->formName(), Kexi::DesignViewMode);
+		if(mainWin) {
+			bool openingCancelled;
+			mainWin->openObject("kexi/form", subform->formName(), Kexi::DesignViewMode, 
+				openingCancelled);
+		}
 		return true;
 	}
 	else if( (classname == "KexiDBDateEdit") || (classname == "KexiDBDateTimeEdit") || \
                (classname == "KexiDBTimeEdit")
--- trunk/koffice/kexi/widget/relations/kexirelationwidget.cpp #498934:498935
@@ -289,7 +289,9 @@
 /*! @todo what about query? */
 	if (!m_relationView->focusedTableView() || \
!m_relationView->focusedTableView()->schema()->table())  return;
-	m_win->openObject("kexi/table", \
m_relationView->focusedTableView()->schema()->name(), Kexi::DataViewMode); +	bool \
openingCancelled; +	m_win->openObject("kexi/table", \
m_relationView->focusedTableView()->schema()->name(),  +		Kexi::DataViewMode, \
openingCancelled);  }
 
 void KexiRelationWidget::designSelectedTable()
@@ -297,7 +299,9 @@
 /*! @todo what about query? */
 	if (!m_relationView->focusedTableView() || \
!m_relationView->focusedTableView()->schema()->table())  return;
-	m_win->openObject("kexi/table", \
m_relationView->focusedTableView()->schema()->name(), Kexi::DesignViewMode); +	bool \
openingCancelled; +	m_win->openObject("kexi/table", \
m_relationView->focusedTableView()->schema()->name(),  +		Kexi::DesignViewMode, \
openingCancelled);  }
 
 QSize KexiRelationWidget::sizeHint() const


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic