Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/UIElements/Qt4/Pipe/BooleanQtQueryPipe.cpp

    r0aa122 r85b112  
    2525#include "CodePatterns/MemDebug.hpp"
    2626
    27 BooleanQtQueryPipe::BooleanQtQueryPipe(const bool *_content, QtDialog *_dialog, QComboBox *_booleanComboBox) :
     27BooleanQtQueryPipe::BooleanQtQueryPipe(bool *_content, QtDialog *_dialog, QCheckBox *_booleanCheckBox) :
    2828  content(_content),
    2929  dialog(_dialog),
    30   booleanComboBox(_booleanComboBox)
     30  booleanCheckBox(_booleanCheckBox)
    3131{}
    3232
     
    3434{}
    3535
    36 void BooleanQtQueryPipe::update() {
     36void BooleanQtQueryPipe::update(int state) {
     37  (*content) = (state == Qt::Checked);
    3738  dialog->update();
    3839}
Note: See TracChangeset for help on using the changeset viewer.