[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: koffice/kexi/kexidb
From: Jarosław Staniek <staniek () kde ! org>
Date: 2010-07-07 7:13:53
Message-ID: 20100707071353.33342AC85D () svn ! kde ! org
[Download RAW message or body]
SVN commit 1146959 by staniek:
proper copy constructor for lookup schema
M +6 -0 lookupfieldschema.cpp
M +3 -1 lookupfieldschema.h
M +1 -0 queryschema.cpp
--- trunk/koffice/kexi/kexidb/lookupfieldschema.cpp #1146958:1146959
@@ -72,6 +72,12 @@
{
}
+LookupFieldSchema::RowSource::RowSource(const RowSource& other)
+ : d(new Private)
+{
+ *d = *other.d;
+}
+
LookupFieldSchema::RowSource::~RowSource()
{
delete d;
--- trunk/koffice/kexi/kexidb/lookupfieldschema.h #1146958:1146959
@@ -72,6 +72,7 @@
};
RowSource();
+ RowSource(const RowSource& other);
~RowSource();
/*! @return row source type: table, query, anonymous; in the future it will
@@ -218,7 +219,8 @@
LookupFieldSchema& lookup, const QByteArray& propertyName,
const QVariant& value);
-protected:
+private:
+ Q_DISABLE_COPY(LookupFieldSchema)
class Private;
Private * const d;
};
--- trunk/koffice/kexi/kexidb/queryschema.cpp #1146958:1146959
@@ -76,6 +76,7 @@
, internalFields(0)
, fieldsExpandedWithInternalAndRowID(0)
, fieldsExpandedWithInternal(0)
+ //, orderByColumnList(copy->orderByColumnList)
, autoincFields(0)
, columnsOrder(0)
, columnsOrderWithoutAsterisks(0)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic