~ubuntu-branches/ubuntu/quantal/kdegames/quantal

« back to all changes in this revision

Viewing changes to kmahjongg/kmahjongg.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-15 14:17:50 UTC
  • mfrom: (1.3.14)
  • Revision ID: package-import@ubuntu.com-20111215141750-6tj6brf4azhrt915
Tags: 4:4.7.90-0ubuntu1
new upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
 
103
103
    gameTimer = new KGameClock(this);
104
104
 
105
 
    connect( gameTimer, SIGNAL( timeChanged(const QString&)), this,
106
 
                SLOT( displayTime(const QString&)));
 
105
    connect( gameTimer, SIGNAL(timeChanged(QString)), this,
 
106
                SLOT(displayTime(QString)));
107
107
 
108
108
    bDemoModeActive = false;
109
109
 
110
 
    connect( bw, SIGNAL( statusTextChanged(const QString&, long) ),
111
 
                 SLOT( showStatusText(const QString&, long) ) );
112
 
 
113
 
    connect( bw, SIGNAL( tileNumberChanged(int,int,int) ),
114
 
                 SLOT( showTileNumber(int,int,int) ) );
115
 
 
116
 
    connect( bw, SIGNAL( demoModeChanged(bool) ),
117
 
                 SLOT( demoModeChanged(bool) ) );
118
 
 
119
 
    connect( bw, SIGNAL( gameOver(unsigned short , unsigned short)), this,
120
 
                SLOT( gameOver(unsigned short , unsigned short)));
 
110
    connect( bw, SIGNAL(statusTextChanged(QString,long)),
 
111
                 SLOT(showStatusText(QString,long)) );
 
112
 
 
113
    connect( bw, SIGNAL(tileNumberChanged(int,int,int)),
 
114
                 SLOT(showTileNumber(int,int,int)) );
 
115
 
 
116
    connect( bw, SIGNAL(demoModeChanged(bool)),
 
117
                 SLOT(demoModeChanged(bool)) );
 
118
 
 
119
    connect( bw, SIGNAL(gameOver(unsigned short,unsigned short)), this,
 
120
                SLOT(gameOver(unsigned short,unsigned short)));
121
121
 
122
122
 
123
123
    connect(bw, SIGNAL(gameCalculated()),
268
268
  dialog->addTilesetPage();
269
269
  dialog->addBackgroundPage();
270
270
  dialog->setHelp(QString(),"kmahjongg");
271
 
  connect(dialog, SIGNAL(settingsChanged(const QString &)), bw, SLOT(loadSettings()));
272
 
  connect(dialog, SIGNAL(settingsChanged(const QString &)), this, SLOT(setDisplayedWidth()));
 
271
  connect(dialog, SIGNAL(settingsChanged(QString)), bw, SLOT(loadSettings()));
 
272
  connect(dialog, SIGNAL(settingsChanged(QString)), this, SLOT(setDisplayedWidth()));
273
273
  dialog->show();
274
274
}
275
275