summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb/drivers/sqlite2
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-01-20 01:29:50 +0000
commit8362bf63dea22bbf6736609b0f49c152f975eb63 (patch)
tree0eea3928e39e50fae91d4e68b21b1e6cbae25604 /kexi/kexidb/drivers/sqlite2
downloadkoffice-8362bf63dea22bbf6736609b0f49c152f975eb63.tar.gz
koffice-8362bf63dea22bbf6736609b0f49c152f975eb63.zip
Added old abandoned KDE3 version of koffice
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1077364 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kexi/kexidb/drivers/sqlite2')
-rw-r--r--kexi/kexidb/drivers/sqlite2/Makefile.am31
-rw-r--r--kexi/kexidb/drivers/sqlite2/kexidb_sqlite2driver.desktop57
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlite2.pro12
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqliteadmin.cpp1
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqliteadmin.h1
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlitealter.cpp1
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqliteconnection.cpp1
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqliteconnection.h2
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqliteconnection_p.h2
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlitecursor.cpp2
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlitecursor.h2
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlitedriver.cpp2
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlitedriver.h2
-rw-r--r--kexi/kexidb/drivers/sqlite2/sqlitepreparedstatement.cpp1
14 files changed, 117 insertions, 0 deletions
diff --git a/kexi/kexidb/drivers/sqlite2/Makefile.am b/kexi/kexidb/drivers/sqlite2/Makefile.am
new file mode 100644
index 00000000..891a071a
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/Makefile.am
@@ -0,0 +1,31 @@
+include $(top_srcdir)/kexi/Makefile.global
+
+kde_module_LTLIBRARIES = kexidb_sqlite2driver.la
+
+INCLUDES = -I$(top_srcdir)/kexi \
+ -I$(top_srcdir)/kexi/kexidb \
+ -I$(top_srcdir)/kexi/3rdparty/kexisql/src \
+ -I$(srcdir)/../sqlite \
+ -I$(srcdir)/../sqlite/moc \
+ -I../sqlite \
+ $(all_includes)
+
+kexidb_sqlite2driver_la_METASOURCES = AUTO
+
+kexidb_sqlite2driver_la_SOURCES = sqliteconnection.cpp sqlitedriver.cpp sqlitecursor.cpp \
+ sqlitepreparedstatement.cpp sqliteadmin.cpp sqlitealter.cpp
+
+kexidb_sqlite2driver_la_LIBADD = $(LIB_KPARTS) $(LIB_QT) \
+ $(top_builddir)/kexi/3rdparty/kexisql/src/libkexisql2.la \
+ $(top_builddir)/kexi/kexidb/libkexidb.la \
+ $(top_builddir)/kexi/kexidb/parser/libkexidbparser.la
+
+kexidb_sqlite2driver_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) $(VER_INFO)
+
+
+kde_services_DATA = kexidb_sqlite2driver.desktop
+
+
+KDE_CXXFLAGS += -DKEXIDB_SQLITE_DRIVER_EXPORT= -D__KEXIDB__= \
+ -DSQLITE2= -include $(top_srcdir)/kexi/kexidb/global.h
+
diff --git a/kexi/kexidb/drivers/sqlite2/kexidb_sqlite2driver.desktop b/kexi/kexidb/drivers/sqlite2/kexidb_sqlite2driver.desktop
new file mode 100644
index 00000000..5e0959df
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/kexidb_sqlite2driver.desktop
@@ -0,0 +1,57 @@
+[Desktop Entry]
+Name=SQLite2
+Name[sv]=Sqlite 2
+Comment=SQLite is default Kexi embedded SQL engine
+Comment[bg]=SQLite е СУБД по подразбиране в Kexi , с вградено SQL ядро
+Comment[ca]=SQLite és el motor SQL encastat i per defecte de Kexi
+Comment[cy]=Y peiriant SQL mewnadeiledig rhagosod Kexi yw SQLite
+Comment[da]=SQLite er en standard Kexi-indlejret SQL-motor
+Comment[de]=SQLite ist der standardmäßig in Kexi eingebettete SQL-Treiber
+Comment[el]=Η SQLite είναι η προκαθορισμένη ενσωματωμένη μηχανή SQL του Kexi
+Comment[es]=SQLite es el motor SQL incrustado en Kexi de forma predefinida
+Comment[et]=SQLite on Kexi vaikimisi kasutatav SQL mootor
+Comment[eu]=SQLite Kexi-ren kapsultatutako SQL motore lehenetsia da
+Comment[fa]=SQLite، پیش‌فرض موتور SQL نهفتۀ Kexi است
+Comment[fi]=SQLite on Kexin käyttämä sisäänrakennetti SQL-moottori.
+Comment[fr]=SQLite est le moteur SQL par défaut intégré à Kexi
+Comment[fy]=SQLite is de standert SQL-databank foar Kexi
+Comment[gl]=SQLite é o motor embebido de SQL de Kexi
+Comment[he]=SQLite הוא מנוע ה־SQL המוטבע של Kexi המשמש כברירת מחדל
+Comment[hi]=केएक्साई एम्बेडेड एसक्यूएल इंजिन के लिए एसक्यूएललाइट डिफ़ॉल्ट है
+Comment[hr]=SQLite je zadani Kexi ugrađeni pogon SQL pogona
+Comment[hu]=Az SQLite a Kexi alapértelmezett, beépített SQL-motorja
+Comment[is]=SQLite er sjálfgefna Kexi SQL vélin
+Comment[it]=SQLite è il motore predefinito integrato in Kexi
+Comment[ja]=SQLite は Kexi の標準埋め込み SQL エンジンです。
+Comment[km]=SQLite គឺ​ជា​ម៉ាស៊ីន SQL ដែល​បាន​បង្កប់​ក្នុង Kexi តាម​លំនាំដើម
+Comment[lv]=SQLite ir Kexi noklusējuma SQL dzinējs
+Comment[ms]=SQLite adalah KeXi piawai yang dipasang dalam enjin SQL
+Comment[nb]=SQLite er den innebygde SQL-motoren i Kexi
+Comment[nds]=SQLite is de standardinbett SQL-Driever för Kexi
+Comment[ne]=SQLite पूर्वनिर्धारित केक्सी सम्मिलित SQL इन्जिन हो
+Comment[nl]=SQLite is de standaard SQL-database voor Kexi
+Comment[nn]=SQLite er den innebygde SQL-motoren i Kexi
+Comment[pl]=SQLite jest domyślnym wbudowanym silnikiem SQL dla Kexi
+Comment[pt]=SQLite é o motor embebido de SQL do Kexi
+Comment[pt_BR]=SQLite é o mecanismo SQL embutido padrão do Kexi
+Comment[ru]=SQLite -- движок встроенного SQL по умолчанию в Kexi
+Comment[se]=SQLite lea Kexi:a sisahuksejuvvon SQL-mohtor
+Comment[sk]=SQLite je štandardný Kexi embedded SQL systém
+Comment[sl]=SQLite je privzet vključen pogon SQL za Kexi
+Comment[sr]=SQLite је подразумевани Kexi-јев уграђен SQL мотор
+Comment[sr@Latn]=SQLite je podrazumevani Kexi-jev ugrađen SQL motor
+Comment[sv]=Sqlite är inbyggd SQL-standarddatabas i Kexi
+Comment[tg]=SQLite -- движоки SQL, ки дар дар дохили Kexi бо пешфарз сохта шудааст
+Comment[tr]=SQlite Kexi'ye gömülü varsayılan SQL motorudur
+Comment[uk]=SQLite - це типовий рушій SQL вбудований в Kexi
+Comment[zh_CN]=SQLite 是嵌入 Kexi 的默认 SQL 引擎
+Comment[zh_TW]=SQLite 是 Kexi 預設內建的 SQL 引擎
+X-KDE-Library=kexidb_sqlite2driver
+ServiceTypes=Kexi/DBDriver
+Type=Service
+InitialPreference=8
+X-Kexi-DriverName=SQLite2
+X-Kexi-DriverType=File
+X-Kexi-FileDBDriverMimeList=application/x-sqlite2,application/x-kexiproject-sqlite2,application/x-kexiproject-sqlite,application/x-hk_classes-sqlite2
+X-Kexi-KexiDBVersion=1.8
+X-Kexi-DoNotAllowProjectImportingTo=true
diff --git a/kexi/kexidb/drivers/sqlite2/sqlite2.pro b/kexi/kexidb/drivers/sqlite2/sqlite2.pro
new file mode 100644
index 00000000..e9597ebd
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlite2.pro
@@ -0,0 +1,12 @@
+include( ../sqlite/sqlite_common.pro )
+
+LIBS += $$KDELIBDESTDIR/kexisql2$$KDELIBDEBUGLIB
+
+INCLUDEPATH += $(KEXI)/3rdparty/kexisql/src ../sqlite/moc
+
+system( bash kmoc ../sqlite )
+
+DEFINES += SQLITE2
+
+TARGET = kexidb_sqlite2driver$$KDELIBDEBUG
+
diff --git a/kexi/kexidb/drivers/sqlite2/sqliteadmin.cpp b/kexi/kexidb/drivers/sqlite2/sqliteadmin.cpp
new file mode 100644
index 00000000..8b0ca7ea
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqliteadmin.cpp
@@ -0,0 +1 @@
+#include "../sqlite/sqliteadmin.cpp"
diff --git a/kexi/kexidb/drivers/sqlite2/sqliteadmin.h b/kexi/kexidb/drivers/sqlite2/sqliteadmin.h
new file mode 100644
index 00000000..bd55e6c6
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqliteadmin.h
@@ -0,0 +1 @@
+#include "../sqlite/sqliteadmin.h"
diff --git a/kexi/kexidb/drivers/sqlite2/sqlitealter.cpp b/kexi/kexidb/drivers/sqlite2/sqlitealter.cpp
new file mode 100644
index 00000000..1942fee7
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlitealter.cpp
@@ -0,0 +1 @@
+#include "../sqlite/sqlitealter.cpp"
diff --git a/kexi/kexidb/drivers/sqlite2/sqliteconnection.cpp b/kexi/kexidb/drivers/sqlite2/sqliteconnection.cpp
new file mode 100644
index 00000000..51bda0d8
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqliteconnection.cpp
@@ -0,0 +1 @@
+#include "../sqlite/sqliteconnection.cpp"
diff --git a/kexi/kexidb/drivers/sqlite2/sqliteconnection.h b/kexi/kexidb/drivers/sqlite2/sqliteconnection.h
new file mode 100644
index 00000000..34e22a13
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqliteconnection.h
@@ -0,0 +1,2 @@
+#include "../sqlite/sqliteconnection.h"
+
diff --git a/kexi/kexidb/drivers/sqlite2/sqliteconnection_p.h b/kexi/kexidb/drivers/sqlite2/sqliteconnection_p.h
new file mode 100644
index 00000000..53bc38e9
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqliteconnection_p.h
@@ -0,0 +1,2 @@
+#include "../sqlite/sqliteconnection_p.h"
+
diff --git a/kexi/kexidb/drivers/sqlite2/sqlitecursor.cpp b/kexi/kexidb/drivers/sqlite2/sqlitecursor.cpp
new file mode 100644
index 00000000..764fc4db
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlitecursor.cpp
@@ -0,0 +1,2 @@
+#include "../sqlite/sqlitecursor.cpp"
+
diff --git a/kexi/kexidb/drivers/sqlite2/sqlitecursor.h b/kexi/kexidb/drivers/sqlite2/sqlitecursor.h
new file mode 100644
index 00000000..8d4f87fe
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlitecursor.h
@@ -0,0 +1,2 @@
+#include "../sqlite/sqlitecursor.h"
+
diff --git a/kexi/kexidb/drivers/sqlite2/sqlitedriver.cpp b/kexi/kexidb/drivers/sqlite2/sqlitedriver.cpp
new file mode 100644
index 00000000..de8ce2d8
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlitedriver.cpp
@@ -0,0 +1,2 @@
+#include "../sqlite/sqlitedriver.cpp"
+#include "../sqlite/sqlitekeywords.cpp"
diff --git a/kexi/kexidb/drivers/sqlite2/sqlitedriver.h b/kexi/kexidb/drivers/sqlite2/sqlitedriver.h
new file mode 100644
index 00000000..a0af4b9f
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlitedriver.h
@@ -0,0 +1,2 @@
+#include "../sqlite/sqlitedriver.h"
+
diff --git a/kexi/kexidb/drivers/sqlite2/sqlitepreparedstatement.cpp b/kexi/kexidb/drivers/sqlite2/sqlitepreparedstatement.cpp
new file mode 100644
index 00000000..2e45bb0b
--- /dev/null
+++ b/kexi/kexidb/drivers/sqlite2/sqlitepreparedstatement.cpp
@@ -0,0 +1 @@
+#include "../sqlite/sqlitepreparedstatement.cpp"