[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi (silent)
From: Jarosław Staniek <staniek () kde ! org>
Date: 2010-04-02 18:53:34
Message-ID: 20100402185334.AF3FAAC888 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1110331 by staniek:
warnings--
SVN_SILENT
M +1 -2 core/kexipartmanager.cpp
M +2 -2 formeditor/WidgetInfo.cpp
M +1 -1 formeditor/container.cpp
M +5 -1 plugins/forms/kexidatasourcepage.cpp
M +2 -1 plugins/forms/kexiformview.cpp
M +5 -1 plugins/forms/widgets/kexidbform.cpp
M +1 -1 plugins/forms/widgets/kexidbimagebox.cpp
M +4 -1 plugins/scripting/kexiscripting/kexiscriptpart.cpp
--- trunk/koffice/kexi/core/kexipartmanager.cpp #1110330:1110331
@@ -71,9 +71,8 @@
"[X-Kexi-PartVersion] == " + \
QString::number(KEXI_PART_VERSION));
KConfigGroup cg(KGlobal::config()->group("Parts"));
- QStringList sl_order = cg.readEntry("Order").split(","); //we'll set parts in \
defined order + const QStringList sl_order = cg.readEntry("Order").split(","); \
//we'll set parts in defined order QVector<KService::Ptr> ordered(sl_order.count());
- int offset = sl_order.count(); //we will insert not described parts from #offset
//compute order
foreach(KService::Ptr ptr, tlist) {
--- trunk/koffice/kexi/formeditor/WidgetInfo.cpp #1110330:1110331
@@ -31,11 +31,11 @@
{
public:
Private (WidgetFactory *f)
- : inheritedClass(0)
- , overriddenAlternateNames(0)
+ : overriddenAlternateNames(0)
, factory(f)
, propertiesWithDisabledAutoSync(0)
, customTypesForProperty(0)
+ , inheritedClass(0)
{
}
--- trunk/koffice/kexi/formeditor/container.cpp #1110330:1110331
@@ -111,8 +111,8 @@
public:
Private(Container* toplevel, QWidget *container)
: state(DoingNothing)
+ , idOfPropertyCommand(0)
, m_toplevel(toplevel)
- , idOfPropertyCommand(0)
, m_widget(container)
, insertBegin(-1, -1)
{
--- trunk/koffice/kexi/plugins/forms/kexidatasourcepage.cpp #1110330:1110331
@@ -325,7 +325,11 @@
void KexiDataSourcePage::slotFieldDoubleClicked(const QString& sourcePartClass, \
const QString& sourceName, const QString& fieldName)
{
-#ifndef KEXI_NO_AUTOFIELD_WIDGET
+#ifdef KEXI_NO_AUTOFIELD_WIDGET
+ Q_UNUSED(sourcePartClass);
+ Q_UNUSED(sourceName);
+ Q_UNUSED(fieldName);
+#else
QStringList selectedFields;
selectedFields.append(fieldName);
emit insertAutoFields(sourcePartClass, sourceName, selectedFields);
--- trunk/koffice/kexi/plugins/forms/kexiformview.cpp #1110330:1110331
@@ -527,7 +527,7 @@
return; //this is not the current form view
//2.0 m_propertySet = set;
#endif
- QWidgetList* widgets = form()->selectedWidgets();
+ //QWidgetList* widgets = form()->selectedWidgets();
// delete m_propertySet;
//2.0 m_propertySet = 0;
//todo
@@ -1154,6 +1154,7 @@
void
KexiFormView::slotFocus(bool in)
{
+ Q_UNUSED(in);
#ifdef __GNUC__
#warning "Port this.."
#else
--- trunk/koffice/kexi/plugins/forms/widgets/kexidbform.cpp #1110330:1110331
@@ -163,6 +163,8 @@
void
KexiDBForm::drawRects(const QList<QRect> &list, int type)
{
+ Q_UNUSED(list);
+ Q_UNUSED(type);
#if 0 // 2.0
QPainter p;
p.begin(this);
@@ -240,6 +242,8 @@
void
KexiDBForm::highlightWidgets(QWidget *from, QWidget *to)//, const QPoint &point)
{
+ Q_UNUSED(from);
+ Q_UNUSED(to);
#if 0 //2.0
QPoint fromPoint, toPoint;
if (from && from->parentWidget() && (from != this))
@@ -541,7 +545,7 @@
kDebug() << realWidget->objectName();
// find next/prev widget to focus
- QWidget *widgetToUnfocus = realWidget;
+ //QWidget *widgetToUnfocus = realWidget;
QWidget *widgetToFocus = 0;
bool wasAtFirstWidget = false; //used to protect against infinite \
loop while (true) {
--- trunk/koffice/kexi/plugins/forms/widgets/kexidbimagebox.cpp #1110330:1110331
@@ -642,7 +642,7 @@
{
const int realHeight = size.height() - margins.top - margins.bottom;
const int realWidth = size.width() - margins.left - margins.right;
- const bool tooLarge = (size.height() - margins.top - margins.bottom) <= \
KexiDBImageBox_static->pixmap->height(); + //const bool tooLarge = (size.height() \
- margins.top - margins.bottom) <= KexiDBImageBox_static->pixmap->height(); if ( \
realHeight <= KexiDBImageBox_static->pixmap->height() || realWidth <= \
KexiDBImageBox_static->pixmap->width()) {
--- trunk/koffice/kexi/plugins/scripting/kexiscripting/kexiscriptpart.cpp \
#1110330:1110331 @@ -97,7 +97,8 @@
bool KexiScriptPart::execute(KexiPart::Item* item, QObject* sender)
{
- if (! item) {
+ Q_UNUSED(sender);
+ if (!item) {
kWarning() << "KexiScriptPart::execute: Invalid item.";
return false;
}
@@ -240,6 +241,8 @@
QMap<QString, QVariant>* staticObjectArgs)
//QWidget *parent, KexiDialogBase* dialog, KexiPart::Item& item, Kexi::ViewMode \
viewMode, QMap<QString,QVariant>*) {
+ Q_UNUSED(window);
+ Q_UNUSED(staticObjectArgs);
kDebug() << "............. createView";
QString partname = item.name();
if (! partname.isNull()) {
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic