From c848b945d44b3621d6418e6589ea5792003fa3c9 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 26 May 2009 18:24:23 +0000 Subject: fixed krazy issues (see http://www.kdedevelopers.org/node/3919) svn path=/trunk/KDE/kdebase/apps/; revision=973269 --- src/renamedialog.h | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'src/renamedialog.h') diff --git a/src/renamedialog.h b/src/renamedialog.h index 1eaae2c61..eca5f4d06 100644 --- a/src/renamedialog.h +++ b/src/renamedialog.h @@ -24,11 +24,12 @@ #include #include - class KFileItem; class KFileItemList; class KLineEdit; +#include + /** * @brief Dialog for renaming a variable number of files. * @@ -65,18 +66,12 @@ public: * been deleted by the user, although more than one item should be * renamed). */ - const QString& newName() const - { - return m_newName; - } + QString newName() const; /** * Returns the error string, if Dialog::newName() returned an empty string. */ - const QString& errorString() const - { - return m_errorString; - } + QString errorString() const; protected slots: virtual void slotButtonClicked(int button); @@ -90,4 +85,14 @@ private: friend class RenameDialogTest; // allow access for unit testing }; +inline QString RenameDialog::newName() const +{ + return m_newName; +} + +inline QString RenameDialog::errorString() const +{ + return m_errorString; +} + #endif -- cgit v1.3