diff options
author | gregory guy <[email protected]> | 2021-01-26 12:01:42 +0100 |
---|---|---|
committer | gregory guy <[email protected]> | 2021-02-02 13:37:00 +0100 |
commit | 5ce12710c2e6c2d896eebb228fc81658d63e3b6e (patch) | |
tree | 2250e6afba25b567d287b32cb849f63504f73a0d | |
parent | b2a11325b0fae77e88fabbd981a6f367506b0092 (diff) | |
download | tdeaccessibility-5ce12710c2e6c2d896eebb228fc81658d63e3b6e.tar.gz tdeaccessibility-5ce12710c2e6c2d896eebb228fc81658d63e3b6e.zip |
Silence few warnings due to some deprecated.
Signed-off-by: gregory guy <[email protected]>
Signed-off-by: Slávek Banko <[email protected]>
-rw-r--r-- | kmouth/phrasebook/phrasebook.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kmouth/phrasebook/phrasebook.cpp b/kmouth/phrasebook/phrasebook.cpp index 94eb42f..c095e6d 100644 --- a/kmouth/phrasebook/phrasebook.cpp +++ b/kmouth/phrasebook/phrasebook.cpp @@ -245,7 +245,7 @@ bool PhraseBook::save (const KURL &url, bool asPhrasebook) { save (*tempFile.textStream(), asPhrasebook); tempFile.close(); - return TDEIO::NetAccess::upload(tempFile.name(), url); + return TDEIO::NetAccess::upload( tempFile.name(), url, 0 ); } } @@ -273,7 +273,7 @@ int PhraseBook::save (TQWidget *parent, const TQString &title, KURL &url, bool p return -1; } - if (TDEIO::NetAccess::exists(url)) { + if (TDEIO::NetAccess::exists(url, false, 0)) { if (KMessageBox::warningContinueCancel(0,TQString("<qt>%1</qt>").arg(i18n("The file %1 already exists. " "Do you want to overwrite it?").arg(url.url())),i18n("File Exists"),i18n("&Overwrite"))==KMessageBox::Cancel) { return 0; @@ -334,7 +334,7 @@ bool PhraseBook::open (const KURL &url) { fileUrl.setPath (url.url()); } - if (TDEIO::NetAccess::download (fileUrl, tempFile)) { + if (TDEIO::NetAccess::download(fileUrl, tempFile, 0)) { TQStringList list = TQStringList(); // First: try to load it as a normal phrase book |