Mercurial > octave-nkf
comparison gui/src/welcome-wizard.cc @ 14709:f50591409306 gui
Started to rename class names and methods from camel case to underscore-
author | Jacob Dawid <jacob.dawid@googlemail.com> |
---|---|
date | Thu, 31 May 2012 22:59:47 +0200 |
parents | 674740c44c09 |
children | 5cb54cca8a06 |
comparison
equal
deleted
inserted
replaced
14708:b44ae6c1484a | 14709:f50591409306 |
---|---|
16 */ | 16 */ |
17 | 17 |
18 #include "welcome-wizard.h" | 18 #include "welcome-wizard.h" |
19 #include "ui_welcome-wizard.h" | 19 #include "ui_welcome-wizard.h" |
20 | 20 |
21 WelcomeWizard::WelcomeWizard (QWidget *parent) : | 21 welcome_wizard::welcome_wizard (QWidget *parent) : |
22 QDialog (parent), | 22 QDialog (parent), |
23 ui (new Ui::WelcomeWizard) | 23 ui (new user_interface::welcome_wizard) |
24 { | 24 { |
25 ui->setupUi (this); | 25 ui->setupUi (this); |
26 connect (ui->nextButton1, SIGNAL (clicked ()), this, SLOT (next ())); | 26 connect (ui->nextButton1, SIGNAL (clicked ()), this, SLOT (next ())); |
27 connect (ui->nextButton2, SIGNAL (clicked ()), this, SLOT (next ())); | 27 connect (ui->nextButton2, SIGNAL (clicked ()), this, SLOT (next ())); |
28 connect (ui->nextButton3, SIGNAL (clicked ()), this, SLOT (next ())); | 28 connect (ui->nextButton3, SIGNAL (clicked ()), this, SLOT (next ())); |
32 connect (ui->previousButton3, SIGNAL (clicked ()), this, SLOT (previous ())); | 32 connect (ui->previousButton3, SIGNAL (clicked ()), this, SLOT (previous ())); |
33 connect (ui->previousButton4, SIGNAL (clicked ()), this, SLOT (previous ())); | 33 connect (ui->previousButton4, SIGNAL (clicked ()), this, SLOT (previous ())); |
34 connect (ui->previousButton5, SIGNAL (clicked ()), this, SLOT (previous ())); | 34 connect (ui->previousButton5, SIGNAL (clicked ()), this, SLOT (previous ())); |
35 } | 35 } |
36 | 36 |
37 WelcomeWizard::~WelcomeWizard() | 37 welcome_wizard::~welcome_wizard() |
38 { | 38 { |
39 delete ui; | 39 delete ui; |
40 } | 40 } |
41 | 41 |
42 void | 42 void |
43 WelcomeWizard::next () | 43 welcome_wizard::next () |
44 { | 44 { |
45 ui->stackedWidget->setCurrentIndex (ui->stackedWidget->currentIndex () + 1); | 45 ui->stackedWidget->setCurrentIndex (ui->stackedWidget->currentIndex () + 1); |
46 } | 46 } |
47 | 47 |
48 void | 48 void |
49 WelcomeWizard::previous () | 49 welcome_wizard::previous () |
50 { | 50 { |
51 ui->stackedWidget->setCurrentIndex (ui->stackedWidget->currentIndex () - 1); | 51 ui->stackedWidget->setCurrentIndex (ui->stackedWidget->currentIndex () - 1); |
52 } | 52 } |
53 | 53 |