Add ability to swap floppy disks.
Signed-off-by: Andrea Odetti <mariofutire@gmail.com>
This commit is contained in:
parent
ba8221d3ee
commit
cde7b12555
3 changed files with 16 additions and 0 deletions
|
@ -387,3 +387,8 @@ void QApple::on_actionScreenshot_triggered()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void QApple::on_actionSwap_disks_triggered()
|
||||||
|
{
|
||||||
|
DiskDriveSwap();
|
||||||
|
}
|
||||||
|
|
|
@ -55,6 +55,8 @@ private slots:
|
||||||
|
|
||||||
void on_actionScreenshot_triggered();
|
void on_actionScreenshot_triggered();
|
||||||
|
|
||||||
|
void on_actionSwap_disks_triggered();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
void stopTimer();
|
void stopTimer();
|
||||||
|
|
|
@ -71,6 +71,7 @@
|
||||||
</property>
|
</property>
|
||||||
<addaction name="actionLoad_state"/>
|
<addaction name="actionLoad_state"/>
|
||||||
<addaction name="actionSave_state"/>
|
<addaction name="actionSave_state"/>
|
||||||
|
<addaction name="actionSwap_disks"/>
|
||||||
</widget>
|
</widget>
|
||||||
<addaction name="menuFile"/>
|
<addaction name="menuFile"/>
|
||||||
<addaction name="menuSystem"/>
|
<addaction name="menuSystem"/>
|
||||||
|
@ -195,6 +196,14 @@
|
||||||
<string>Shift+F12</string>
|
<string>Shift+F12</string>
|
||||||
</property>
|
</property>
|
||||||
</action>
|
</action>
|
||||||
|
<action name="actionSwap_disks">
|
||||||
|
<property name="text">
|
||||||
|
<string>Swap &disks</string>
|
||||||
|
</property>
|
||||||
|
<property name="shortcut">
|
||||||
|
<string>F5</string>
|
||||||
|
</property>
|
||||||
|
</action>
|
||||||
</widget>
|
</widget>
|
||||||
<layoutdefault spacing="6" margin="11"/>
|
<layoutdefault spacing="6" margin="11"/>
|
||||||
<resources/>
|
<resources/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue