summaryrefslogtreecommitdiffstats
path: root/src/client/connectwindow/connectwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/connectwindow/connectwindow.cpp')
-rw-r--r--src/client/connectwindow/connectwindow.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/src/client/connectwindow/connectwindow.cpp b/src/client/connectwindow/connectwindow.cpp
index 1f6d549..a9f0996 100644
--- a/src/client/connectwindow/connectwindow.cpp
+++ b/src/client/connectwindow/connectwindow.cpp
@@ -17,7 +17,7 @@
#define UDPBUFSIZ 9000
#define SALT_LEN 18
-/***************************************************************************//**
+/**
* Initialize Connection Window.
* @param parent
*/
@@ -57,14 +57,14 @@ ConnectWindow::ConnectWindow(QWidget *parent) : QWidget(parent)
this->updateUserInterface();
}
-/***************************************************************************//**
+/**
* @brief ConnectWindow::~ConnectWindow
*/
ConnectWindow::~ConnectWindow() {}
-/***************************************************************************//**
+/**
* Handle changes in state and update window.
* Also changing TextLabel which shows the user what the program is doing.
*/
@@ -123,7 +123,7 @@ void ConnectWindow::updateUserInterface()
* Overrides
*/
-/***************************************************************************//**
+/**
* Called when a Qt timer fires; used for server discovery and
* auto-hiding the connect dialog.
*/
@@ -139,7 +139,7 @@ void ConnectWindow::timerEvent(QTimerEvent* event)
killTimer(event->timerId());
}
-/***************************************************************************//**
+/**
* Handle incoming closeEvent and hide window.
* @param e
*/
@@ -160,7 +160,7 @@ void ConnectWindow::doShow()
raise();
}
-/***************************************************************************//**
+/**
* Gives the keyboard input focus to the input line.
* @param event
*/
@@ -171,7 +171,7 @@ void ConnectWindow::showEvent(QShowEvent* /* event */ )
_ui->lineEditName->setFocus();
}
-/***************************************************************************//**
+/**
* Public function connect to session.
* Check if currently connected to server,
* if not --> connect to given sessionName.
@@ -223,7 +223,7 @@ void ConnectWindow::DoDisconnect()
}
-/***************************************************************************//**
+/**
* Handle click on Connect/Disconnect button.
* If already connected --> Stop/disconnect.
* Else scanning for given sessionId.
@@ -259,7 +259,7 @@ void ConnectWindow::setAvailableRooms(QList<Room> m)
/* also add a pseudo-room "manual choice" */
_ui->comboBox_rooms->addItem(tr("Session Name..."), "manual_connection");
}
-/***************************************************************************//**
+/**
* Handle click on Cancel/Hide Button.
* Just hide the window.
*/
@@ -284,7 +284,7 @@ void ConnectWindow::onRoomSelection(int index)
}
}
-/***************************************************************************//**
+/**
* @brief ConnectWindow::onServerDetected
* @param host
* @param port
@@ -300,7 +300,7 @@ void ConnectWindow::onServerDetected(const QString& host, const quint16 port, co
}
-/***************************************************************************//**
+/**
* Handle connection state changes and update member variables describing state.
* @param state
*/
@@ -326,7 +326,7 @@ void ConnectWindow::onConnectionStateChange(ConnectWindow::ConnectionState state
}
-/***************************************************************************//**
+/**
* If connection is closed set _pendingConnection = nullptr.
* @param connection
*/
@@ -335,7 +335,7 @@ void ConnectWindow::onConnectionClosed(QObject* /* connection */ )
_pendingConnection = nullptr;
}
-/***************************************************************************//**
+/**
* @brief ConnectWindow::onConnectionDisconnected
*/
void ConnectWindow::onConnectionDisconnected(ServerConnection*)