@@ -2,7 +2,7 @@
2 * Copyright (C) 2013 Canonical, Ltd.
2 * Copyright (C) 2013 Canonical, Ltd.
5− * Michał Sawicz <michal.sawicz@canonical.com>
5+ * Michał Hruby <michal.hruby@canonical.com>
7 * This program is free software; you can redistribute it and/or modify
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
8 * it under the terms of the GNU General Public License as published by
@@ -35,7 +35,7 @@ enum ResultsColumn {
36CategoryResults::CategoryResults(QObject* parent)
36CategoryResults::CategoryResults(QObject* parent)
37 : DeeListModel(parent)
37 : DeeListModel(parent)
38− , m_category_index(-1)
38+ , m_categoryIndex(-1)
40 m_roles[CategoryResults::RoleUri] = "uri";
40 m_roles[CategoryResults::RoleUri] = "uri";
41 m_roles[CategoryResults::RoleIconHint] = "icon";
41 m_roles[CategoryResults::RoleIconHint] = "icon";
@@ -49,14 +49,14 @@ CategoryResults::CategoryResults(QObject* parent)
50int CategoryResults::categoryIndex() const
50int CategoryResults::categoryIndex() const
52− return m_category_index;
52+ return m_categoryIndex;
55void CategoryResults::setCategoryIndex(int index)
55void CategoryResults::setCategoryIndex(int index)
57− if (m_category_index != index) {
57+ if (m_categoryIndex != index) {
58− m_category_index = index;
58+ m_categoryIndex = index;
59− Q_EMIT categoryIndexChanged(m_category_index);
59+ Q_EMIT categoryIndexChanged(m_categoryIndex);