* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
* You should have received a copy of the GNU General Public License *
* along with this program; if not, write to the *
* Free Software Foundation, Inc., *
- * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
+ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. *
- virtual QVariant data(const QModelIndex &index, int role) const;
- virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
+ virtual QVariant data(const QModelIndex &index, int role) const;
+ virtual bool setData(const QModelIndex &index, const QVariant &value, int role = Qt::EditRole);
- inline int rowCount(const QModelIndex &parent = QModelIndex()) const;
- inline int columnCount(const QModelIndex &parent = QModelIndex()) const;
+ inline int rowCount(const QModelIndex &parent = QModelIndex()) const;
+ inline int columnCount(const QModelIndex &parent = QModelIndex()) const;
- inline bool configChanged() const { return _configChanged; }
- inline bool isReady() const { return _modelReady; }
+ inline bool configChanged() const { return _configChanged; }
+ inline bool isReady() const { return _modelReady; }
- const AliasManager &aliasManager() const;
- AliasManager &aliasManager();
- AliasManager &cloneAliasManager();
+ const AliasManager &aliasManager() const;
+ AliasManager &aliasManager();
+ AliasManager &cloneAliasManager();
-int AliasesModel::rowCount(const QModelIndex &parent) const {
- Q_UNUSED(parent);
- return isReady() ? aliasManager().count() : 0;
+int AliasesModel::rowCount(const QModelIndex &parent) const
+{
+ Q_UNUSED(parent);
+ return isReady() ? aliasManager().count() : 0;