diff options
author | Michele Calgaro <[email protected]> | 2025-01-20 18:26:41 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2025-01-20 18:26:41 +0900 |
commit | aae5ebe5008a41fe4a4767092d7e17600abf6725 (patch) | |
tree | 97002e11e1564bceeda4fb4b3b04164bb9e72286 /kaddressbook/xxport | |
parent | 69779eb81c20b80b56ab698f44a944efd6107a74 (diff) | |
download | tdepim-rename/tdeapp.tar.gz tdepim-rename/tdeapp.zip |
Use tdeApprename/tdeapp
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kaddressbook/xxport')
-rw-r--r-- | kaddressbook/xxport/csvimportdialog.cpp | 8 | ||||
-rw-r--r-- | kaddressbook/xxport/vcard_xxport.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/kaddressbook/xxport/csvimportdialog.cpp b/kaddressbook/xxport/csvimportdialog.cpp index 589bfb243..b77de93f7 100644 --- a/kaddressbook/xxport/csvimportdialog.cpp +++ b/kaddressbook/xxport/csvimportdialog.cpp @@ -166,7 +166,7 @@ TDEABC::AddresseeList CSVImportDialog::contacts() const progressDialog.setLabel( i18n( "Importing contacts" ) ); progressDialog.show(); - kapp->processEvents(); + tdeApp->processEvents(); for ( int row = 1; row < mTable->numRows(); ++row ) { TDEABC::Addressee a; @@ -344,7 +344,7 @@ TDEABC::AddresseeList CSVImportDialog::contacts() const } } - kapp->processEvents(); + tdeApp->processEvents(); if ( progressDialog.wasCancelled() ) return TDEABC::AddresseeList(); @@ -792,7 +792,7 @@ void CSVImportDialog::applyTemplate() TQStringList templates; // load all template files - TQStringList list = TDEGlobal::dirs()->findAllResources( "data" , TQString( kapp->name() ) + + TQStringList list = TDEGlobal::dirs()->findAllResources( "data" , TQString( tdeApp->name() ) + "/csv-templates/*.desktop", true, true ); for ( TQStringList::iterator it = list.begin(); it != list.end(); ++it ) @@ -848,7 +848,7 @@ void CSVImportDialog::applyTemplate() void CSVImportDialog::saveTemplate() { TQString fileName = KFileDialog::getSaveFileName( - locateLocal( "data", TQString( kapp->name() ) + "/csv-templates/" ), + locateLocal( "data", TQString( tdeApp->name() ) + "/csv-templates/" ), "*.desktop", this ); if ( fileName.isEmpty() ) diff --git a/kaddressbook/xxport/vcard_xxport.cpp b/kaddressbook/xxport/vcard_xxport.cpp index 6c09db006..797c31d7d 100644 --- a/kaddressbook/xxport/vcard_xxport.cpp +++ b/kaddressbook/xxport/vcard_xxport.cpp @@ -264,7 +264,7 @@ TDEABC::AddresseeList VCardXXPort::importContacts( const TQString& ) const } else { TQString text = i18n( "<qt>When trying to read the vCard, there was an error opening the file '%1': %2</qt>" ); text = text.arg( (*it).url() ); - text = text.arg( kapp->translate( "TQFile", + text = text.arg( tdeApp->translate( "TQFile", TQString(file.errorString()).latin1() ) ); KMessageBox::error( parentWidget(), text, caption ); anyFailures = true; |