[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: =?utf-8?q?=5Bcalligra/kexi-mobile-adam=5Fpigg=5D_kexi/plugins/au?=
From: Adam Pigg <adam () piggz ! co ! uk>
Date: 2011-06-30 22:22:05
Message-ID: 20110630222205.1DC4DA60AE () git ! kde ! org
[Download RAW message or body]
Git commit ad0e13641d09064cab324e84ed5dfa6940105cce by Adam Pigg.
Committed on 01/07/2011 at 00:19.
Pushed by piggz into branch 'kexi-mobile-adam_pigg'.
Updated to revised KexiPart API
M +12 -3 kexi/plugins/autoforms/KexiAutoFormPart.cpp
http://commits.kde.org/calligra/ad0e13641d09064cab324e84ed5dfa6940105cce
diff --git a/kexi/plugins/autoforms/KexiAutoFormPart.cpp \
b/kexi/plugins/autoforms/KexiAutoFormPart.cpp index 67f8d83..867620b 100644
--- a/kexi/plugins/autoforms/KexiAutoFormPart.cpp
+++ b/kexi/plugins/autoforms/KexiAutoFormPart.cpp
@@ -24,10 +24,18 @@
#include <KDebug>
#include <core/KexiWindow.h>
-KexiAutoFormPart::KexiAutoFormPart(QObject* parent, const QVariantList& args): \
Part(parent, args) +KexiAutoFormPart::KexiAutoFormPart(QObject* parent, const \
QVariantList& args) +: KexiPart::Part(parent,
+ i18nc("Translate this word using only lowercase alphanumeric \
characters (a..z, 0..9). " + "Use '_' character instead of spaces. \
First character should be a..z character. " + "If you cannot use \
latin characters in your language, use english word.", + "report"),
+ i18nc("tooltip", "Create new autoform"),
+ i18nc("what's this", "Creates new autoform."),
+ args)
{
kDebug();
- setInternalPropertyValue("instanceName",
+ /*setInternalPropertyValue("instanceName",
i18nc("Translate this word using only lowercase \
alphanumeric characters (a..z, 0..9). "
"Use '_' character instead of spaces. First character \
should be a..z character. "
"If you cannot use latin characters in your language, \
use english word.", @@ -35,7 +43,8 @@ KexiAutoFormPart::KexiAutoFormPart(QObject* \
parent, const QVariantList& args): P
setInternalPropertyValue("instanceCaption", \
i18n("AutoForm"));
setInternalPropertyValue("instanceToolTip", \
i18nc("tooltip", "Create new AutoForm"));
setInternalPropertyValue("instanceWhatsThis", i18nc("what's this", "Creates new \
autoform."));
- setSupportedViewModes(Kexi::DataViewMode | Kexi::DesignViewMode);
+
+ setSupportedViewModes(Kexi::DataViewMode | Kexi::DesignViewMode);*/
setInternalPropertyValue("newObjectsAreDirty", true);
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic