#############################################################################
# Makefile for building: bat
-# Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Jan 28 16:40:37 2007
+# Generated by qmake (2.01a) (Qt 4.2.1) on: Sun Jan 28 17:49:20 2007
# Project: bat.pro
# Template: app
# Command: /usr/bin/qmake -unix -o Makefile bat.pro
qrc_main.cpp: main.qrc \
/usr/bin/rcc \
images/new.png \
+ images/label.png \
+ images/server.png \
+ images/restore.png \
images/copy.png \
images/cut.png \
+ images/connect.png \
+ images/big-server.png \
images/save.png \
images/bat.png \
images/paste.png \
+ images/run.png \
images/open.png
/usr/bin/rcc -name main main.qrc -o qrc_main.cpp
char *tls_keyfile; /* TLS Client Key File */
TLS_CONTEXT *tls_ctx; /* Shared TLS Context */
+
+ /* Methods */
+ char *name() const;
};
+inline char *DIRRES::name() const { return hdr.name; }
+
struct CONFONTRES {
RES hdr;
char *fontface; /* Console Font specification */
m_textEdit = mainWin->textEdit; /* our console screen */
+ /* Just take the first Director */
+ LockRes();
+ m_dir = (DIRRES *)GetNextRes(R_DIRECTOR, NULL);
+ UnlockRes();
+
/* Dummy setup of treeWidget */
treeWidget->clear();
treeWidget->setColumnCount(1);
treeWidget->setHeaderLabel("Selection");
topItem = new QTreeWidgetItem(treeWidget);
- topItem->setText(0, "Rufus");
+ topItem->setText(0, m_dir->name());
item = new QTreeWidgetItem(topItem);
item->setText(0, "Console");
item->setText(1, "0");
m_textEdit = mainWin->textEdit; /* our console screen */
- /* Just take the first Director */
- LockRes();
- m_dir = (DIRRES *)GetNextRes(R_DIRECTOR, NULL);
- UnlockRes();
if (!m_dir) {
return false;
<attribute name="toolBarArea" >
<number>4</number>
</attribute>
+ <addaction name="actionConnect" />
<addaction name="actionSave" />
<addaction name="actionPrint" />
+ <addaction name="actionLabel" />
+ <addaction name="actionRestore" />
</widget>
<action name="actionExit" >
<property name="text" >
<string>Save</string>
</property>
</action>
+ <action name="actionConnect" >
+ <property name="icon" >
+ <iconset>images/connect.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Connect</string>
+ </property>
+ </action>
+ <action name="actionLabel" >
+ <property name="icon" >
+ <iconset>images/label.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Label</string>
+ </property>
+ </action>
+ <action name="actionRestore" >
+ <property name="icon" >
+ <iconset>images/restore.png</iconset>
+ </property>
+ <property name="text" >
+ <string>Restore</string>
+ </property>
+ </action>
</widget>
<resources>
<include location="main.qrc" />