[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: 2004-06-30 18:59:35
Message-ID: 20040630185935.74EB199B2 () office ! kde ! org
[Download RAW message or body]
CVS commit by staniek:
Core
- KexiViewBase::updateActions() virt. method added for convenience
M +1 -1 core/kexiactionproxy.h 1.13
M +9 -0 core/kexidialogbase.cpp 1.90
M +1 -0 core/kexidialogbase.h 1.72
M +4 -0 core/kexiviewbase.cpp 1.23
M +4 -0 core/kexiviewbase.h 1.23
M +23 -0 doc/dev/CHANGELOG-Kexi-js 1.113
--- koffice/kexi/core/kexiactionproxy.h #1.12:1.13
@@ -72,5 +72,5 @@ class KEXICORE_EXPORT KexiActionProxy
void plugSharedAction(const char *action_name, QObject* receiver, const char *slot);
- void KexiActionProxy::unplugSharedAction(const char *action_name);
+ void unplugSharedAction(const char *action_name);
/*! Typical version of plugAction() method -- plugs action named \a action_name
--- koffice/kexi/core/kexidialogbase.cpp #1.89:1.90
@@ -455,4 +455,13 @@ bool KexiDialogBase::loadDataBlock( QStr
}
+void KexiDialogBase::activate()
+{
+ KMdiChildView::activate();
+ KexiViewBase *v = selectedView();
+ if (v) {
+ v->updateActions();
+ }
+}
+
#include "kexidialogbase.moc"
--- koffice/kexi/core/kexidialogbase.h #1.71:1.72
@@ -179,4 +179,5 @@ class KEXICORE_EXPORT KexiDialogBase : p
void setTempData( KexiDialogTempData* data ) { m_tempData = data; }
+ void activate();
public slots:
virtual void setFocus();
--- koffice/kexi/core/kexiviewbase.cpp #1.22:1.23
@@ -260,4 +260,8 @@ KAction* KexiViewBase::sharedAction( con
}
+void KexiViewBase::updateActions()
+{
+}
+
#include "kexiviewbase.moc"
--- koffice/kexi/core/kexiviewbase.h #1.22:1.23
@@ -199,4 +199,8 @@ class KEXICORE_EXPORT KexiViewBase : pub
void setViewWidget(QWidget* w);
+ /*! Updates actions (e.g. availability). Reimplement it, if needed.
+ called by KexiDialogBase on dialog's activation. */
+ virtual void updateActions();
+
QString m_defaultIconName;
--- koffice/kexi/doc/dev/CHANGELOG-Kexi-js #1.112:1.113
@@ -321,7 +321,30 @@
(not it's as in QtDesigner, and it's not intuitive)
+TODO:
+1. there 's just a problem with the dirty() flag
+ if you switch to dataview then back to design, dirty() is restted
+2. add KexiViewBase::removeDataBlock() so we can use it in KexiFormPart::remove()
+
+2004-06-30
+SQL View
+- fully implemented history/status mode switching
+- both modes work with "check SQL" action
+Core
+- KexiViewBase::updateActions() virt. method added for convenience
+
2004-06-28
KexiCore
- KexiViewBase now knows own view mode
+SQL Parser, SQL View
+- fixed error handling (syntax error is only set when no detailed error is known)
+- on error: fixed jumping to proper character (even where are more lines and tabulators)
+- status label's height is properly increased, when needed
+- jumping to proper character impelmented also for QT_ONLY_SQL_EDITOR
+- fixed crash for parsing empty SQL string
+Main Window
+- removed redundant MDI Mode option from View menu
+Core
+- some docs added
+- KexiSharedActionHost::createSharedAction() : subclassName arg added
2004-06-25
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic