File: checkboxex.cpp

package info (click to toggle)
olive-editor 20181223-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 2,844 kB
  • sloc: cpp: 20,147; xml: 315; ansic: 16; makefile: 11
file content (12 lines) | stat: -rw-r--r-- 312 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#include "checkboxex.h"

#include "project/undo.h"

CheckboxEx::CheckboxEx(QWidget* parent) : QCheckBox(parent) {
//	connect(this, SIGNAL(clicked(bool)), this, SLOT(checkbox_command()));
}

void CheckboxEx::checkbox_command() {
	CheckboxCommand* c = new CheckboxCommand(this);
	undo_stack.push(c);
}