103
103
gameTimer = new KGameClock(this);
105
connect( gameTimer, SIGNAL( timeChanged(const QString&)), this,
106
SLOT( displayTime(const QString&)));
105
connect( gameTimer, SIGNAL(timeChanged(QString)), this,
106
SLOT(displayTime(QString)));
108
108
bDemoModeActive = false;
110
connect( bw, SIGNAL( statusTextChanged(const QString&, long) ),
111
SLOT( showStatusText(const QString&, long) ) );
113
connect( bw, SIGNAL( tileNumberChanged(int,int,int) ),
114
SLOT( showTileNumber(int,int,int) ) );
116
connect( bw, SIGNAL( demoModeChanged(bool) ),
117
SLOT( demoModeChanged(bool) ) );
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)) );
113
connect( bw, SIGNAL(tileNumberChanged(int,int,int)),
114
SLOT(showTileNumber(int,int,int)) );
116
connect( bw, SIGNAL(demoModeChanged(bool)),
117
SLOT(demoModeChanged(bool)) );
119
connect( bw, SIGNAL(gameOver(unsigned short,unsigned short)), this,
120
SLOT(gameOver(unsigned short,unsigned short)));
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()));