source: projects/punch-card/punch-card-editor/src/app/deckviewer.h @ 48

Last change on this file since 48 was 48, checked in by sven, 10 years ago
  • Fixed more bugs
  • Cardeditor is now capable of writing text live using Codecs
  • Toolbars for Cardeditor, Codec changing menu
  • etc...
File size: 603 bytes
Line 
1#ifndef DECKVIEWER_H
2#define DECKVIEWER_H
3
4#include <QObject>
5
6class DeckViewer;
7
8#include "card.h"
9#include "editorwindow.h"
10
11// das hier war nur so eine Idee. Wird nicht klappen, weils dafuer ein
12// QObject sein muesste, aber
13// class Foo : public QWidget, public DeckViewer
14// would inherit QObject two times, and that won't work.
15// Without QObjects no Signal & Slots, so the complete idea is
16// for the trashcan...
17
18class DeckViewer {
19
20        public:
21        virtual void setCard(DeckIndex i) {}
22        virtual void contentsChanged(DeckIndex from, DeckIndex to) {}
23        // usw. -- sammlung halt
24}
25
26#endif // DECKVIEWER_H
Note: See TracBrowser for help on using the repository browser.
© 2008 - 2013 technikum29 • Sven Köppel • Some rights reserved
Powered by Trac
Expect where otherwise noted, content on this site is licensed under a Creative Commons 3.0 License