Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.

Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
This commit is contained in:
lotodore committed 2011-02-11 20:02:08 +00:00
1 parent 29dca1846e
commit 02518c67b2
232 files changed
+22743 -21044

No files matched your search

@@ -25,23 +25,24 @@
#include "session.h"
serverListDialogImpl::serverListDialogImpl(startWindowImpl *sw, QMainWindow *parent, ConfigFile *c)
: QDialog(parent), myConfig(c), mySw(sw)
: QDialog(parent), myConfig(c), mySw(sw)
{
#ifdef __APPLE__
setWindowModality(Qt::ApplicationModal);
setWindowFlags(Qt::WindowSystemMenuHint | Qt::CustomizeWindowHint | Qt::Dialog);
#endif
setupUi(this);
#endif
setupUi(this);
connect( treeWidget_serverList, SIGNAL( itemDoubleClicked ( QTreeWidgetItem*, int) ), this, SLOT( connectToServer() ));
connect( buttonBox, SIGNAL( accepted() ), this, SLOT( connectToServer() ));
connect( buttonBox, SIGNAL( rejected() ), this, SLOT( closeNetworkClient() ));
connect( this, SIGNAL( rejected() ), this, SLOT( closeNetworkClient() ));
}
void serverListDialogImpl::exec() {
void serverListDialogImpl::exec()
{
QDialog::exec();
QDialog::exec();
}
void serverListDialogImpl::clearList()
@@ -70,7 +71,8 @@ void serverListDialogImpl::connectToServer()
this->hide();
}
void serverListDialogImpl::closeNetworkClient() {
void serverListDialogImpl::closeNetworkClient()
{
mySw->getSession()->terminateNetworkClient();
mySw->getMyConnectToServerDialog()->reject();