Commit 0b53b734 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Fix minor EBN issues

parent b0266cb8
...@@ -38,7 +38,7 @@ class DictFileFieldSelector : public DictionaryPreferenceDialog ...@@ -38,7 +38,7 @@ class DictFileFieldSelector : public DictionaryPreferenceDialog
Q_OBJECT Q_OBJECT
public: public:
DictFileFieldSelector( KConfigSkeleton *config explicit DictFileFieldSelector( KConfigSkeleton *config
, const QString &dictionaryTypeName , const QString &dictionaryTypeName
, QWidget *parent ); , QWidget *parent );
virtual ~DictFileFieldSelector(); virtual ~DictFileFieldSelector();
......
...@@ -82,7 +82,7 @@ bool Entry::extendedItemCheck( const QString& key, const QString &value ) const ...@@ -82,7 +82,7 @@ bool Entry::extendedItemCheck( const QString& key, const QString &value ) const
/** /**
* Get the dictionary name that generated this Entry. I can't think of a reason to be changing this * Get the dictionary name that generated this Entry. I can't think of a reason to be changing this
*/ */
const QString& Entry::getDictName() const QString Entry::getDictName() const
{ {
return sourceDict; return sourceDict;
} }
...@@ -131,7 +131,7 @@ QStringList Entry::getReadingsList() const ...@@ -131,7 +131,7 @@ QStringList Entry::getReadingsList() const
/** /**
* Simple accessor * Simple accessor
*/ */
const QHash<QString,QString> &Entry::getExtendedInfo() const QHash<QString,QString> Entry::getExtendedInfo() const
{ {
return ExtendedInfo; return ExtendedInfo;
} }
......
...@@ -94,7 +94,7 @@ class KITEN_EXPORT Entry ...@@ -94,7 +94,7 @@ class KITEN_EXPORT Entry
/** /**
* Get the dictionary name that generated this Entry. I can't think of a reason to be changing this * Get the dictionary name that generated this Entry. I can't think of a reason to be changing this
*/ */
const QString &getDictName() const; QString getDictName() const;
/** /**
* Get the dictionary type (e.g. edict, kanjidic). * Get the dictionary type (e.g. edict, kanjidic).
*/ */
...@@ -123,7 +123,7 @@ class KITEN_EXPORT Entry ...@@ -123,7 +123,7 @@ class KITEN_EXPORT Entry
/** /**
* Simple accessor * Simple accessor
*/ */
const QHash<QString,QString> &getExtendedInfo() const; QHash<QString,QString> getExtendedInfo() const;
/** /**
* Simple accessor * Simple accessor
* @param x the key for the extended info item to get * @param x the key for the extended info item to get
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment