File: xdc_toolbutton.cpp

package info (click to toggle)
xdrawchem 1.0-0.1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 2,820 kB
  • ctags: 2,389
  • sloc: cpp: 17,801; makefile: 263; ansic: 168
file content (10 lines) | stat: -rw-r--r-- 198 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
#include "xdc_toolbutton.h"

XDC_ToolButton::XDC_ToolButton(QWidget *parent, QString name) :
  QToolButton(parent, name) {
  fn = name;
}

void XDC_ToolButton::trigger() {
  emit IncludeFile(fn);
}