Rev 227 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 227 | Rev 272 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | le_ServerPort->setText(Settings->Server.Port); |
42 | le_ServerPort->setText(Settings->Server.Port); |
43 | cb_StartServer->setChecked(Settings->Server.StartServer); |
43 | cb_StartServer->setChecked(Settings->Server.StartServer); |
44 | cb_ToGround->setChecked(Settings->Server.ToGround); |
44 | cb_ToGround->setChecked(Settings->Server.ToGround); |
45 | le_Login->setText(Settings->Server.QMKS_Login); |
45 | le_Login->setText(Settings->Server.QMKS_Login); |
46 | le_Password->setText(Settings->Server.QMKS_Password); |
46 | le_Password->setText(Settings->Server.QMKS_Password); |
- | 47 | le_QMKS_Host->setText(Settings->Server.QMKS_Host); |
|
- | 48 | le_QMKS_Port->setText(Settings->Server.QMKS_Port); |
|
47 | } |
49 | } |
Line 48... | Line 50... | ||
48 | 50 | ||
49 | cSettings *dlg_Preferences::get_Settings() |
51 | cSettings *dlg_Preferences::get_Settings() |
50 | { |
52 | { |
Line 59... | Line 61... | ||
59 | Settings->Server.Port = le_ServerPort->text(); |
61 | Settings->Server.Port = le_ServerPort->text(); |
60 | Settings->Server.StartServer = cb_StartServer->isChecked(); |
62 | Settings->Server.StartServer = cb_StartServer->isChecked(); |
61 | Settings->Server.ToGround = cb_ToGround->isChecked(); |
63 | Settings->Server.ToGround = cb_ToGround->isChecked(); |
62 | Settings->Server.QMKS_Login = le_Login->text(); |
64 | Settings->Server.QMKS_Login = le_Login->text(); |
63 | Settings->Server.QMKS_Password = le_Password->text(); |
65 | Settings->Server.QMKS_Password = le_Password->text(); |
- | 66 | Settings->Server.QMKS_Host = le_QMKS_Host->text(); |
|
- | 67 | Settings->Server.QMKS_Port = le_QMKS_Port->text(); |
|
Line 64... | Line 68... | ||
64 | 68 | ||
65 | return Settings; |
69 | return Settings; |
Line 66... | Line 70... | ||
66 | } |
70 | } |