run_cmake:
cd build && cmake .. && make
+build_mono_windows:
+ cd build && cmake -DBUILD="mono" .. -G "MinGW Makefiles" && mingw32-make
+
build_windows:
- cd build && cmake .. -G "MinGW Makefiles" && mingw32-make
+ cd build && cmake -DBUILD="core gui" .. -G "MinGW Makefiles" && mingw32-make
clean:
rm -rf build/*
emit ownNickSet(network, ownNick);
emit nickAdded(network, ownNick, VarMap());
emit displayMsg(Message::server("", params[1], prefix));
+ // send performlist
+ QStringList performList = networkSettings["Perform"].toString().split( "\n" );
+ int count = performList.count();
+ for ( int a = 0; a < count; a++ ) {
+ if ( !performList[a].isEmpty() ) {
+ userInput( network, "", performList[a] );
+ }
+ }
}
/* RPL_ISUPPORT */
//if(server["Exclude"].toBool()) item->setCheckState(Qt::Checked);
ui.serverList->addItem(item);
}
+ ui.performEdit->clear();
+ ui.performEdit->setText( network["Perform"].toString() );
updateServerButtons();
}
/*if(ui.networkGroup->currentText() == "<none>") network["Group"] = "";
else */ network["Group"] = ui.networkGroup->currentText();
network["AutoConnect"] = ui.enableAutoConnect->isChecked();
+ network["Perform"] = ui.performEdit->toPlainText();
if(ui.identityList->currentIndex()) network["Identity"] = ui.identityList->currentText();
else network["Identity"] = "Default";
QDialog::accept();
<bool>true</bool>
</property>
<property name="currentIndex" >
- <number>0</number>
+ <number>1</number>
</property>
<widget class="QWidget" name="serversTab" >
<property name="enabled" >
<item>
<widget class="QTextEdit" name="performEdit" >
<property name="enabled" >
- <bool>false</bool>
+ <bool>true</bool>
</property>
- <property name="html" >
- <string><html><head><meta name="qrichtext" content="1" /><style type="text/css">
-p, li { white-space: pre-wrap; }
-</style></head><body style=" font-family:'Sans Serif'; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;">
-<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-style:italic;">Not implemented yet</span></p></body></html></string>
+ <property name="lineWrapMode" >
+ <enum>QTextEdit::NoWrap</enum>
</property>
</widget>
</item>