int main() { long n; cin >> n; while(n--) { char c; cin >> c; switch(c) { case('R'): { long x,y; cin >> x>>y; osiedl(x,y); } break; case('K'): { long x1,y1,x2,y2; cin >> x1>>y1>>x2>>y2; polacz(x1,y1,x2,y2); } break; case('P'): { long y; cin >> y; przelot(y); } break; } } return 0; }
Start::Start( QWidget *parent) : QDialog(parent) { setupUi(this); ustawienia(); connect(pushButtonOk, SIGNAL(clicked()), this, SLOT(polacz())); connect(pushButtonEsci, SIGNAL(clicked()), this, SLOT(wyjdz())); connect(radioButtonServer, SIGNAL(clicked()), this, SLOT(widocznySerwer())); connect(radioButtonClient, SIGNAL(clicked()), this, SLOT(widocznyKlient())); pushButtonOk->setFocus(); }
BazaDanych::BazaDanych() { //std::cout << "Baza::Baza()" << std::endl; polacz(); }