Remove unused method.

This commit is contained in:
con
2009-05-05 18:07:48 +02:00
parent b373242aca
commit 7364d8ba3d
3 changed files with 0 additions and 23 deletions

View File

@@ -49,12 +49,6 @@
\enum Command::CommandAttribute
*/
/*!
\fn void Command::setCategory(const QString &name)
Sets the category to \a name.
*/
/*!
\fn virtual void Command::setDefaultKeySequence(const QKeySequence &key)
*/
@@ -118,18 +112,6 @@ int CommandPrivate::stateFlags() const
return (m_type & CS_Mask);
}
void CommandPrivate::setCategory(const QString &name)
{
m_category = name;
}
QString CommandPrivate::category() const
{
if (m_category.isEmpty())
return tr("Other");
return m_category;
}
void CommandPrivate::setDefaultKeySequence(const QKeySequence &key)
{
m_defaultKey = key;