From 8fd40e72aa7d9599d7f4e9a5b421ab9307f15b79 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 10 Jun 2008 17:22:24 +0000 Subject: Just use KMimeType::extractKnownExtension() instead of the custom implementation. Thanks to David Faure for the hint! svn path=/trunk/KDE/kdebase/apps/; revision=819137 --- src/renamedialog.h | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/renamedialog.h') diff --git a/src/renamedialog.h b/src/renamedialog.h index 998475733..931b89cb0 100644 --- a/src/renamedialog.h +++ b/src/renamedialog.h @@ -81,22 +81,6 @@ public: protected slots: virtual void slotButtonClicked(int button); -private: - /** - * Returns the extension string for a filename, which contains all - * file extensions. Version numbers like in "cmake-2.4.5" don't count - * as file extension. If the version numbers follow after a valid extension, they - * are part of the extension string. - * - * Examples (name -> extension string): - * "Image.gif" -> ".gif" - * "package.tar.gz" -> ".tar.gz" - * "cmake-2.4.5" -> "" - * "Image.1.12.gif" -> ".gif" - * "Image.tar.1.12.gz" -> ".tar.1.12.gz" - */ - static QString extensionString(const QString& name); - private: bool m_renameOneItem; KLineEdit* m_lineEdit; -- cgit v1.3.1