Commit 8513dc78 authored by Dirk Wilden's avatar Dirk Wilden

removed warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@3269 383ad7c9-94d9-4d36-a494-682f7c89f535
parent a6e9f92c
......@@ -126,7 +126,7 @@ void DataControlPlugin::slotObjectUpdated( int _identifier ) {
model_->updatedObject( _identifier );
}
void DataControlPlugin::slotCellClicked(int _row , int _col) {
void DataControlPlugin::slotCellClicked(int /*_row*/ , int /*_col*/) {
// if ( _col == 0 ) {
// QTableWidgetItem* target = objectList_->item(_row,_col);
......@@ -141,7 +141,7 @@ void DataControlPlugin::slotCellClicked(int _row , int _col) {
// }
}
void DataControlPlugin::verticalHeaderClicked( int _row ) {
void DataControlPlugin::verticalHeaderClicked( int /*_row*/ ) {
// (*data_)[_row]->target ( !(*data_)[_row]->target() );
// QTableWidgetItem* target = objectList_->item(_row,3);
// if ( target->checkState() == Qt::Checked ) {
......@@ -156,7 +156,7 @@ void DataControlPlugin::verticalHeaderClicked( int _row ) {
// // objectList_->setRangeSelected(range,true);
}
void DataControlPlugin::verticalCountClicked( int id , int old , int newc ) {
void DataControlPlugin::verticalCountClicked( int /*id*/ , int /*old*/ , int /*newc*/ ) {
// emit log(LOGWARN,"VHeader : Count " + QString::number(id) + " " + QString::number(old) + " " + QString::number(newc));
}
......@@ -335,7 +335,7 @@ void DataControlPlugin::showAll() {
}
void DataControlPlugin::slotDataChanged ( const QModelIndex & topLeft,
const QModelIndex & bottomRight )
const QModelIndex & /*bottomRight*/ )
{
switch (topLeft.column()) {
......@@ -365,7 +365,7 @@ void DataControlPlugin::slotDataChanged ( const QModelIndex & topLeft,
view_->expandToDepth(0);
}
void DataControlPlugin::slotRowsRemoved ( const QModelIndex & _parent, int _start, int _end ) {
void DataControlPlugin::slotRowsRemoved ( const QModelIndex & /*_parent*/, int /*_start*/, int /*_end*/ ) {
std::cerr << "Row removed! " << std::endl;
emit update_view();
}
......
......@@ -58,7 +58,7 @@ TreeModel::~TreeModel()
}
/// Return the number of columns
int TreeModel::columnCount(const QModelIndex &_parent) const
int TreeModel::columnCount(const QModelIndex &/*_parent*/) const
{
// Name,Visible,Source,Target -> 4
return (4);
......@@ -424,7 +424,7 @@ BaseObject *TreeModel::getItem(const QModelIndex &index) const
}
/// Set Data at 'index' to 'value'
bool TreeModel::setData(const QModelIndex &index, const QVariant &value, int role)
bool TreeModel::setData(const QModelIndex &index, const QVariant &value, int /*role*/)
{
BaseObject *item = getItem(index);
......
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