#include "linetypebox.h"
-#include "rs_debug.h"
+#include "debug.h"
/**
* Default Constructor. You must call init manually if you choose
*/
void LineTypeBox::setLineType(RS2::LineType t)
{
- RS_DEBUG->print("LineTypeBox::setLineType %d\n", (int)t);
+ DEBUG->print("LineTypeBox::setLineType %d\n", (int)t);
int offset = (int)showByLayer * 2 + (int)showUnchanged;
if (showByLayer)
setCurrentIndex(0 + (int)showUnchanged);
else
- RS_DEBUG->print(RS_Debug::D_WARNING, "LineTypeBox::setLineType: "
+ DEBUG->print(Debug::D_WARNING, "LineTypeBox::setLineType: "
"Combobox doesn't support linetype BYLAYER");
break;
case RS2::LineByBlock:
if (showByLayer)
setCurrentIndex(1 + (int)showUnchanged);
else
- RS_DEBUG->print(RS_Debug::D_WARNING, "LineTypeBox::setLineType: "
+ DEBUG->print(Debug::D_WARNING, "LineTypeBox::setLineType: "
"Combobox doesn't support linetype BYBLOCK");
break;
*/
void LineTypeBox::slotLineTypeChanged(int index)
{
- RS_DEBUG->print("LineTypeBox::slotLineTypeChanged %d\n", index);
+ DEBUG->print("LineTypeBox::slotLineTypeChanged %d\n", index);
unchanged = false;
else
currentLineType = (RS2::LineType)(index - (int)showByLayer * 2 - (int)showUnchanged);
- RS_DEBUG->print("Current linetype is (%d): %d\n", index, currentLineType);
+ DEBUG->print("Current linetype is (%d): %d\n", index, currentLineType);
emit lineTypeChanged(currentLineType);
}