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
+6 -5
View File
@@ -1,15 +1,16 @@
#include "mymenubar.h"
MyMenuBar::MyMenuBar(QMainWindow* parent)
: QMenuBar(parent)
: QMenuBar(parent)
{
#if (QT_VERSION >= 0x040501)
this->setAttribute(Qt::WA_TranslucentBackground);
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
#endif
this->setStyleSheet("QMenuBar { border-width: 0px; border-style: none;} ");
#endif
}
void MyMenuBar::paintEvent(QPaintEvent *e) {
void MyMenuBar::paintEvent(QPaintEvent *e)
{
QMenuBar::paintEvent(e);
QMenuBar::paintEvent(e);
}