Changeset 801 for mcbuilder/trunk/include/ProjectInfo.h
- Timestamp:
- 08/10/08 13:39:25 (5 months ago)
- Files:
-
- 1 modified
-
mcbuilder/trunk/include/ProjectInfo.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
mcbuilder/trunk/include/ProjectInfo.h
r734 r801 26 26 #include "MainWindow.h" 27 27 #include "ProjectManager.h" 28 29 #ifdef MCBUILDER_TEST_SUITE 30 #include "TestBuilder.h" 31 #endif 28 32 29 33 // subclassed so we have access to the context menu events … … 90 94 void setNetworkSectionEnabled(bool state); 91 95 void loadFileBrowser(QDir *projectDir, QDomDocument *projectFile); 96 // mostly for testing... 97 void setVersion(QString version) { versionEdit->setText(version); } 98 void setHeapSize(int heap) { heapSizeEdit->setText(QString::number(heap)); } 99 void setMempool(int mempool) { networkMempoolEdit->setText(QString::number(mempool)); } 100 void setUdp(int udp) { udpSocketEdit->setText(QString::number(udp)); } 101 void setTcp(int tcp) { tcpSocketEdit->setText(QString::number(tcp)); } 102 void setTcpListen(int tcplisten) { tcpServerEdit->setText(QString::number(tcplisten)); } 103 void setIncludeOsc(bool osc); 104 void setIncludeUsb(bool usb); 105 void setIncludeNetwork(bool network); 92 106 93 107 private slots: … … 97 111 void onRemoveFileRequest(QString filename); 98 112 void onChangeBuildType(QString filename, QString newtype); 113 114 #ifdef MCBUILDER_TEST_SUITE 115 friend class TestBuilder; 116 #endif 99 117 }; 100 118
