Exemple #1
0
void Recepcjonista::on_Recepcjonista_tabBarClicked(int index)
{
    switch(index)
    {
        case 0:
        {
            readClients();
            break;
        }
        case 1:
        {
            break;
        }
        case 2:
        {
            break;
        }
        case 3:
        {
            break;
        }
        case 4:
        {
            break;
        }
        case 5:
        {
            break;
        }
        case 6:
        {
            break;
        }
    }
}
Exemple #2
0
void Application::newInstanceConnected() {
	DEBUG_LOG(("Application Info: new local socket connected"));
	for (QLocalSocket *client = server.nextPendingConnection(); client; client = server.nextPendingConnection()) {
		clients.push_back(ClientSocket(client, QByteArray()));
		connect(client, SIGNAL(readyRead()), this, SLOT(readClients()));
		connect(client, SIGNAL(disconnected()), this, SLOT(removeClients()));
	}
}
Exemple #3
0
void Recepcjonista::on_dodaj_klienta_Button_clicked()
{
    addClient();
    readClients();
}