summaryrefslogtreecommitdiffstats
path: root/kexi/kexidb
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 15:43:48 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-10-13 15:43:48 -0500
commitd504497c10d3cc9441a39245af1723e8c0ae556d (patch)
tree9fdf6ec3624b0c25e04b5bc37c96ecef0fdaca18 /kexi/kexidb
parentc128ab57b3b5f3a57427a78cef7d5d4236cc9822 (diff)
downloadkoffice-d504497c10d3cc9441a39245af1723e8c0ae556d.tar.gz
koffice-d504497c10d3cc9441a39245af1723e8c0ae556d.zip
Bring filenew, fileopen, fileprint, filequickprint, filesave, filesaveas, fileclose, editclear, editcopy, editcut, editdelete, editpaste, folder_new, and gohome icons into XDG compliance
Diffstat (limited to 'kexi/kexidb')
-rw-r--r--kexi/kexidb/drivers/sqlite/sqliteconnection.cpp2
-rw-r--r--kexi/kexidb/utils.cpp2
-rw-r--r--kexi/kexidb/utils.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/kexi/kexidb/drivers/sqlite/sqliteconnection.cpp b/kexi/kexidb/drivers/sqlite/sqliteconnection.cpp
index cf478b94..0be5b742 100644
--- a/kexi/kexidb/drivers/sqlite/sqliteconnection.cpp
+++ b/kexi/kexidb/drivers/sqlite/sqliteconnection.cpp
@@ -205,7 +205,7 @@ bool SQLiteConnection::drv_useDatabase( const TQString &dbName, bool *cancelled,
+ i18n("The file is probably already open on this or another computer.") + " "
+ i18n("Could not gain exclusive access for writing the file."),
KMessageBox::WarningContinueCancel, KMessageBox::Continue,
- KGuiItem(i18n("Open As Read-Only"), "fileopen"), KStdGuiItem::cancel(),
+ KGuiItem(i18n("Open As Read-Only"), "document-open"), KStdGuiItem::cancel(),
"askBeforeOpeningFileReadOnly", KMessageBox::Notify, msgHandler ))
{
clearError();
diff --git a/kexi/kexidb/utils.cpp b/kexi/kexidb/utils.cpp
index edb472a0..4baa0d8b 100644
--- a/kexi/kexidb/utils.cpp
+++ b/kexi/kexidb/utils.cpp
@@ -1032,7 +1032,7 @@ TQVariant KexiDB::notEmptyValueForType( KexiDB::Field::Type type )
TQByteArray ba;
TQBuffer buffer( ba );
buffer.open( IO_WriteOnly );
- TQPixmap pm(SmallIcon("filenew"));
+ TQPixmap pm(SmallIcon("document-new"));
pm.save( &buffer, "PNG"/*! @todo default? */ );
ADD(i, ba);
continue;
diff --git a/kexi/kexidb/utils.h b/kexi/kexidb/utils.h
index e535cd4b..606e41a9 100644
--- a/kexi/kexidb/utils.h
+++ b/kexi/kexidb/utils.h
@@ -379,7 +379,7 @@ namespace KexiDB
"notEmpty" property set. It works in a similar way as
@ref TQVariant emptyValueForType( KexiDB::Field::Type type ) with the following differences:
- " " string (a single space) is returned for Text and LongText types
- - a byte array with saved "filenew" PNG image (icon) for BLOB type
+ - a byte array with saved "document-new" PNG image (icon) for BLOB type
Returns null TQVariant for unsupported values like KexiDB::Field::InvalidType.
This function is efficient (uses a cache) and is heavily used by the AlterTableHandler
for filling new columns. */