summaryrefslogtreecommitdiffstats
path: root/sigmodr/SigmodTreeModel.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-10-31 19:31:08 +0000
committerBen Boeckel <MathStuf@gmail.com>2008-10-31 19:31:08 +0000
commit60e7fc8eb418c5dbbbd2788c4e7987c475268e69 (patch)
tree2f88c9bb313f5254a213079f41fefa913b2d8a4c /sigmodr/SigmodTreeModel.cpp
parent518d85ab591723da2c5a1a0e01a04dcf0e75c5c4 (diff)
downloadsigen-60e7fc8eb418c5dbbbd2788c4e7987c475268e69.tar.gz
sigen-60e7fc8eb418c5dbbbd2788c4e7987c475268e69.tar.xz
sigen-60e7fc8eb418c5dbbbd2788c4e7987c475268e69.zip
[FIX] Using Q_UNUSED instead of commenting out parameter names
git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@287 6ecfd1a5-f3ed-3746-8530-beee90d26b22
Diffstat (limited to 'sigmodr/SigmodTreeModel.cpp')
-rw-r--r--sigmodr/SigmodTreeModel.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/sigmodr/SigmodTreeModel.cpp b/sigmodr/SigmodTreeModel.cpp
index cc5d3179..b9f957e8 100644
--- a/sigmodr/SigmodTreeModel.cpp
+++ b/sigmodr/SigmodTreeModel.cpp
@@ -50,8 +50,11 @@ QVariant Sigmodr::SigmodTreeModel::data(const QModelIndex& index, int role) cons
return object->data(role);
}
-QVariant Sigmodr::SigmodTreeModel::headerData(int /*section*/, Qt::Orientation /*orientation*/, int /*role = Qt::DisplayRole*/) const
+QVariant Sigmodr::SigmodTreeModel::headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const
{
+ Q_UNUSED(section)
+ Q_UNUSED(orientation)
+ Q_UNUSED(role)
return QVariant();
}
@@ -84,8 +87,9 @@ int Sigmodr::SigmodTreeModel::rowCount(const QModelIndex& parent) const
return object->rowCount();
}
-int Sigmodr::SigmodTreeModel::columnCount(const QModelIndex& /*parent*/) const
+int Sigmodr::SigmodTreeModel::columnCount(const QModelIndex& parent) const
{
+ Q_UNUSED(parent)
return 1;
}
@@ -141,8 +145,10 @@ QMimeData* Sigmodr::SigmodTreeModel::mimeData(const QModelIndexList& indexes) co
return mimeData;
}
-bool Sigmodr::SigmodTreeModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int /*row*/, int /*column*/, const QModelIndex& parent)
+bool Sigmodr::SigmodTreeModel::dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent)
{
+ Q_UNUSED(row)
+ Q_UNUSED(column)
if (action == Qt::IgnoreAction)
return true;
QString format;