-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved files to a library so they don't get compiled twice
- Loading branch information
1 parent
d1bde77
commit b618609
Showing
5 changed files
with
92 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
#include "and.h" | ||
#include "audiobox.h" | ||
#include "buzzer.h" | ||
#include "clock.h" | ||
#include "demux.h" | ||
#include "dflipflop.h" | ||
#include "display_14.h" | ||
#include "display_7.h" | ||
#include "dlatch.h" | ||
#include "ic.h" | ||
#include "inputbutton.h" | ||
#include "inputgnd.h" | ||
#include "inputrotary.h" | ||
#include "inputswitch.h" | ||
#include "inputvcc.h" | ||
#include "jkflipflop.h" | ||
#include "led.h" | ||
#include "line.h" | ||
#include "mux.h" | ||
#include "nand.h" | ||
#include "node.h" | ||
#include "nor.h" | ||
#include "not.h" | ||
#include "or.h" | ||
#include "qneconnection.h" | ||
#include "qneport.h" | ||
#include "srflipflop.h" | ||
#include "srlatch.h" | ||
#include "text.h" | ||
#include "tflipflop.h" | ||
#include "truth_table.h" | ||
#include "xnor.h" | ||
#include "xor.h" | ||
|
||
inline void registerTypes() { | ||
qRegisterMetaType<And>(); | ||
qRegisterMetaType<AudioBox>(); | ||
qRegisterMetaType<Buzzer>(); | ||
qRegisterMetaType<Clock>(); | ||
qRegisterMetaType<DFlipFlop>(); | ||
qRegisterMetaType<DLatch>(); | ||
qRegisterMetaType<Demux>(); | ||
qRegisterMetaType<Display14>(); | ||
qRegisterMetaType<Display7>(); | ||
qRegisterMetaType<GraphicElement>(); | ||
qRegisterMetaType<IC>(); | ||
qRegisterMetaType<InputButton>(); | ||
qRegisterMetaType<InputGnd>(); | ||
qRegisterMetaType<InputRotary>(); | ||
qRegisterMetaType<InputSwitch>(); | ||
qRegisterMetaType<InputVcc>(); | ||
qRegisterMetaType<JKFlipFlop>(); | ||
qRegisterMetaType<Led>(); | ||
qRegisterMetaType<Line>(); | ||
qRegisterMetaType<Mux>(); | ||
qRegisterMetaType<Nand>(); | ||
qRegisterMetaType<Node>(); | ||
qRegisterMetaType<Nor>(); | ||
qRegisterMetaType<Not>(); | ||
qRegisterMetaType<Or>(); | ||
qRegisterMetaType<QNEConnection>(); | ||
qRegisterMetaType<QNEInputPort>(); | ||
qRegisterMetaType<QNEOutputPort>(); | ||
qRegisterMetaType<SRFlipFlop>(); | ||
qRegisterMetaType<SRLatch>(); | ||
qRegisterMetaType<TFlipFlop>(); | ||
qRegisterMetaType<Text>(); | ||
qRegisterMetaType<TruthTable>(); | ||
qRegisterMetaType<Xnor>(); | ||
qRegisterMetaType<Xor>(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters