X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fwidgets%2Fpatternbox.cpp;h=94f4d9375a839ecc7f0cfc8da4f022aa21106372;hb=1f0d096a7fc370ff02477f3860beae2669bf8903;hp=0ce3a9e27ccf0b7176953bb4de73311e92fd8638;hpb=e5a77a32dbe17d9534d3099f1fd3fdacba199516;p=architektonas diff --git a/src/widgets/patternbox.cpp b/src/widgets/patternbox.cpp index 0ce3a9e..94f4d93 100644 --- a/src/widgets/patternbox.cpp +++ b/src/widgets/patternbox.cpp @@ -24,21 +24,21 @@ * Default Constructor. You must call init manually if you choose * to use this constructor. */ -QG_PatternBox::QG_PatternBox(QWidget * parent, const char */*name*/): QComboBox(parent) +PatternBox::PatternBox(QWidget * parent, const char */*name*/): QComboBox(parent) { } /** * Destructor */ -QG_PatternBox::~QG_PatternBox() +PatternBox::~PatternBox() { } /** * Initialisation (called manually and only once). */ -void QG_PatternBox::init() +void PatternBox::init() { QStringList patterns; @@ -55,7 +55,7 @@ void QG_PatternBox::init() slotPatternChanged(currentIndex()); } -RS_Pattern * QG_PatternBox::getPattern() +RS_Pattern * PatternBox::getPattern() { return currentPattern; } @@ -63,9 +63,9 @@ RS_Pattern * QG_PatternBox::getPattern() /** * Sets the currently selected width item to the given width. */ -void QG_PatternBox::setPattern(const QString & pName) +void PatternBox::setPattern(const QString & pName) { - RS_DEBUG->print("QG_PatternBox::setPattern %s\n", pName.toLatin1().data()); + RS_DEBUG->print("PatternBox::setPattern %s\n", pName.toLatin1().data()); // setCurrentText(pName); setItemText(currentIndex(), pName); slotPatternChanged(currentIndex()); @@ -75,9 +75,9 @@ void QG_PatternBox::setPattern(const QString & pName) * Called when the pattern has changed. This method * sets the current pattern to the value chosen. */ -void QG_PatternBox::slotPatternChanged(int index) +void PatternBox::slotPatternChanged(int index) { - RS_DEBUG->print("QG_PatternBox::slotPatternChanged %d\n", index); + RS_DEBUG->print("PatternBox::slotPatternChanged %d\n", index); currentPattern = RS_PATTERNLIST->requestPattern(currentText()); if (currentPattern!=NULL)