diff options
| author | Peter Penz <[email protected]> | 2008-06-10 17:22:24 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2008-06-10 17:22:24 +0000 |
| commit | 8fd40e72aa7d9599d7f4e9a5b421ab9307f15b79 (patch) | |
| tree | 876a19028060ae7ec139973358f574c016852eb4 /src/renamedialog.h | |
| parent | c4f8d95a602a35c019c9697ce42d37bc4713148a (diff) | |
Just use KMimeType::extractKnownExtension() instead of the custom implementation. Thanks to David Faure for the hint!
svn path=/trunk/KDE/kdebase/apps/; revision=819137
Diffstat (limited to 'src/renamedialog.h')
| -rw-r--r-- | src/renamedialog.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/renamedialog.h b/src/renamedialog.h index 998475733..931b89cb0 100644 --- a/src/renamedialog.h +++ b/src/renamedialog.h @@ -82,22 +82,6 @@ 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; QString m_newName; |
