Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.

Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
lotodore
2011-02-11 20:02:08 +00:00
parent 29dca1846e
commit 02518c67b2
232 changed files with 22743 additions and 21044 deletions
+18 -19
View File
@@ -1,7 +1,7 @@
//
// C++ Implementation: mycardspixmaplabel
//
// Description:
// Description:
//
//
// Author: FThauer FHammer <f.thauer@web.de>, (C) 2007
@@ -15,7 +15,7 @@
using namespace std;
MyActionButton::MyActionButton(QGroupBox* parent)
: QPushButton(parent), myStyle(NULL)
: QPushButton(parent), myStyle(NULL)
{
}
@@ -25,23 +25,22 @@ MyActionButton::~MyActionButton()
}
void MyActionButton::paintEvent(QPaintEvent * event) {
void MyActionButton::paintEvent(QPaintEvent * event)
{
QPushButton::paintEvent(event);
QPushButton::paintEvent(event);
QPainter painter(this);
painter.setPen(QColor("#"+myStyle->getFKeyIndicatorColor()));
painter.setOpacity(0.5);
QFont f= painter.font();
f.setPixelSize(9);
painter.setFont(f);
if(objectName()==("pushButton_AllIn")) {
painter.drawText(6,6,15,15,Qt::AlignLeft,fKeyText);
}
else if(objectName()==("pushButton_showMyCards")){
painter.drawText(6,6,15,15,Qt::AlignLeft,QString("F5"));
}
else {
painter.drawText(8,15,15,15,Qt::AlignLeft,fKeyText);
}
QPainter painter(this);
painter.setPen(QColor("#"+myStyle->getFKeyIndicatorColor()));
painter.setOpacity(0.5);
QFont f= painter.font();
f.setPixelSize(9);
painter.setFont(f);
if(objectName()==("pushButton_AllIn")) {
painter.drawText(6,6,15,15,Qt::AlignLeft,fKeyText);
} else if(objectName()==("pushButton_showMyCards")) {
painter.drawText(6,6,15,15,Qt::AlignLeft,QString("F5"));
} else {
painter.drawText(8,15,15,15,Qt::AlignLeft,fKeyText);
}
}