diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 11:50:18 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-24 18:51:56 +0900 |
commit | 904cb397f13483aa3ed5fb45079120b0eed7b0bb (patch) | |
tree | 84217af9ba8f0a2bc735f20d6ddc95cb27e8ef34 /tdeiconedit/tdeicon.cpp | |
parent | c9e40417ac00954826c50f8f6579639255c46476 (diff) | |
download | tdegraphics-904cb397f13483aa3ed5fb45079120b0eed7b0bb.tar.gz tdegraphics-904cb397f13483aa3ed5fb45079120b0eed7b0bb.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 55cef714419f6e36e66dc75afc40682ea5c73a35)
Diffstat (limited to 'tdeiconedit/tdeicon.cpp')
-rw-r--r-- | tdeiconedit/tdeicon.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeiconedit/tdeicon.cpp b/tdeiconedit/tdeicon.cpp index cd3ab63a..7a1eb3d9 100644 --- a/tdeiconedit/tdeicon.cpp +++ b/tdeiconedit/tdeicon.cpp @@ -155,7 +155,7 @@ bool TDEIconEditIcon::promptForFile(const TQImage *img) KURL url = KFileDialog::getOpenURL( TQString(), filter ); */ bool loaded = false; - KURL url = KFileDialog::getImageOpenURL( TQString(), TQT_TQWIDGET(parent()) ); + KURL url = KFileDialog::getImageOpenURL( TQString(), static_cast<TQWidget*>(parent()) ); if( !url.isEmpty() ) { @@ -174,7 +174,7 @@ bool TDEIconEditIcon::saveAs(const TQImage *image) TQString file; //Get list of file types.. - KFileDialog *dialog=new KFileDialog(TQString(), TQString(), TQT_TQWIDGET(parent()), "file dialog", true); + KFileDialog *dialog=new KFileDialog(TQString(), TQString(), static_cast<TQWidget*>(parent()), "file dialog", true); dialog->setCaption( i18n("Save Icon As") ); dialog->setKeepLocation( true ); dialog->setMimeFilter( KImageIO::mimeTypes(KImageIO::Writing), "image/png" ); @@ -206,7 +206,7 @@ bool TDEIconEditIcon::saveAs(const TQImage *image) if(TQFile::exists(file)) { - int r=KMessageBox::warningContinueCancel(TQT_TQWIDGET(parent()), + int r=KMessageBox::warningContinueCancel(static_cast<TQWidget*>(parent()), i18n( "A file named \"%1\" already exists. " "Overwrite it?" ).arg(file), i18n( "Overwrite File?" ), |