summaryrefslogtreecommitdiff
path: root/noncore/apps/qashmoney/calculator.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/qashmoney/calculator.cpp') (more/less context) (ignore whitespace changes)
-rwxr-xr-xnoncore/apps/qashmoney/calculator.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/noncore/apps/qashmoney/calculator.cpp b/noncore/apps/qashmoney/calculator.cpp
index 0e0a043..2c92103 100755
--- a/noncore/apps/qashmoney/calculator.cpp
+++ b/noncore/apps/qashmoney/calculator.cpp
@@ -11,51 +11,51 @@ Calculator::Calculator ( QWidget* parent ) : QDialog ( parent, 0, TRUE )
QPushButton *one = new QPushButton ( "1", this, "one" ); // make buttons for first row
one->setFlat ( TRUE );
- connect ( one, SIGNAL ( released () ), this, SLOT ( displayOne () ) );
+ connect ( one, SIGNAL ( released() ), this, SLOT ( displayOne() ) );
QPushButton *two = new QPushButton ( "2", this, "two" );
two->setFlat ( TRUE );
- connect ( two, SIGNAL ( released () ), this, SLOT ( displayTwo () ) );
+ connect ( two, SIGNAL ( released() ), this, SLOT ( displayTwo() ) );
QPushButton *three = new QPushButton ( "3", this, "three" );
three->setFlat ( TRUE );
- connect ( three, SIGNAL ( released () ), this, SLOT ( displayThree () ) );
+ connect ( three, SIGNAL ( released() ), this, SLOT ( displayThree() ) );
QPushButton *four = new QPushButton ( "4", this, "four" ); // make buttons for second row
four->setFlat ( TRUE );
- connect ( four, SIGNAL ( released () ), this, SLOT ( displayFour () ) );
+ connect ( four, SIGNAL ( released() ), this, SLOT ( displayFour() ) );
QPushButton *five = new QPushButton ( "5", this, "five" );
five->setFlat ( TRUE );
- connect ( five, SIGNAL ( released () ), this, SLOT ( displayFive () ) );
+ connect ( five, SIGNAL ( released() ), this, SLOT ( displayFive() ) );
QPushButton *six = new QPushButton ( "6", this, "six" );
six->setFlat ( TRUE );
- connect ( six, SIGNAL ( released () ), this, SLOT ( displaySix () ) );
+ connect ( six, SIGNAL ( released() ), this, SLOT ( displaySix() ) );
QPushButton *seven = new QPushButton ( "7", this, "seven" ); // make buttons for third row
seven->setFlat ( TRUE );
- connect ( seven, SIGNAL ( released () ), this, SLOT ( displaySeven () ) );
+ connect ( seven, SIGNAL ( released() ), this, SLOT ( displaySeven() ) );
QPushButton *eight = new QPushButton ( "8", this, "eight" );
eight->setFlat ( TRUE );
- connect ( eight, SIGNAL ( released () ), this, SLOT ( displayEight () ) );
+ connect ( eight, SIGNAL ( released() ), this, SLOT ( displayEight() ) );
QPushButton *nine = new QPushButton ( "9", this, "nine" );
nine->setFlat ( TRUE );
- connect ( nine, SIGNAL ( released () ), this, SLOT ( displayNine () ) );
+ connect ( nine, SIGNAL ( released() ), this, SLOT ( displayNine() ) );
QPushButton *zero = new QPushButton ( "0", this, "zero" );
zero->setFlat ( TRUE );
- connect ( zero, SIGNAL ( released () ), this, SLOT ( displayZero () ) );
+ connect ( zero, SIGNAL ( released() ), this, SLOT ( displayZero() ) );
QPushButton *dp = new QPushButton ( ".", this, "dp" );
dp->setFlat ( TRUE );
- connect ( dp, SIGNAL ( released () ), this, SLOT ( displayPoint () ) );
+ connect ( dp, SIGNAL ( released() ), this, SLOT ( displayPoint() ) );
QPushButton *back = new QPushButton ( "<-", this, "back" );
back->setFlat ( TRUE );
- connect ( back, SIGNAL ( released () ), this, SLOT ( back () ) );
+ connect ( back, SIGNAL ( released() ), this, SLOT ( back() ) );
layout = new QGridLayout ( this, 5, 3, 5, 1, "calculatorlayout" );
layout->addMultiCellWidget ( display, 0, 0, 0, 2 );