author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (unidiff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /korganizer/journalentry.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | korganizer/journalentry.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/korganizer/journalentry.h b/korganizer/journalentry.h index ee17da8..0adebe9 100644 --- a/korganizer/journalentry.h +++ b/korganizer/journalentry.h | |||
@@ -12,45 +12,50 @@ | |||
12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
13 | GNU General Public License for more details. | 13 | GNU General Public License for more details. |
14 | 14 | ||
15 | You should have received a copy of the GNU General Public License | 15 | You should have received a copy of the GNU General Public License |
16 | along with this program; if not, write to the Free Software | 16 | along with this program; if not, write to the Free Software |
17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 17 | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
18 | 18 | ||
19 | As a special exception, permission is given to link this program | 19 | As a special exception, permission is given to link this program |
20 | with any edition of Qt, and distribute the resulting executable, | 20 | with any edition of Qt, and distribute the resulting executable, |
21 | without including the source code for Qt in the source distribution. | 21 | without including the source code for Qt in the source distribution. |
22 | */ | 22 | */ |
23 | #ifndef JOURNALENTRY_H | 23 | #ifndef JOURNALENTRY_H |
24 | #define JOURNALENTRY_H | 24 | #define JOURNALENTRY_H |
25 | // | 25 | // |
26 | // Widget showing one Journal entry | 26 | // Widget showing one Journal entry |
27 | 27 | ||
28 | #include <qframe.h> | 28 | #include <q3frame.h> |
29 | //Added by qt3to4: | ||
30 | #include <QResizeEvent> | ||
31 | #include <QEvent> | ||
32 | #include <QLabel> | ||
33 | #include <QKeyEvent> | ||
29 | 34 | ||
30 | #include <libkcal/calendar.h> | 35 | #include <libkcal/calendar.h> |
31 | 36 | ||
32 | class QLabel; | 37 | class QLabel; |
33 | class KTextEdit; | 38 | class KTextEdit; |
34 | class QComboBox; | 39 | class QComboBox; |
35 | class KLineEdit; | 40 | class KLineEdit; |
36 | class KOLocationBox; | 41 | class KOLocationBox; |
37 | 42 | ||
38 | using namespace KCal; | 43 | using namespace KCal; |
39 | 44 | ||
40 | class JournalEntry : public QFrame { | 45 | class JournalEntry : public Q3Frame { |
41 | Q_OBJECT | 46 | Q_OBJECT |
42 | public: | 47 | public: |
43 | JournalEntry(Calendar *,QWidget *parent); | 48 | JournalEntry(Calendar *,QWidget *parent); |
44 | virtual ~JournalEntry(); | 49 | virtual ~JournalEntry(); |
45 | 50 | ||
46 | void setJournal(Journal *, bool saveJournal = true ); | 51 | void setJournal(Journal *, bool saveJournal = true ); |
47 | Journal *journal() const; | 52 | Journal *journal() const; |
48 | 53 | ||
49 | void setDate(const QDate &); | 54 | void setDate(const QDate &); |
50 | 55 | ||
51 | void clear(); | 56 | void clear(); |
52 | 57 | ||
53 | void flushEntry(); | 58 | void flushEntry(); |
54 | void setShowOnly(); | 59 | void setShowOnly(); |
55 | QSize sizeHint() const; | 60 | QSize sizeHint() const; |
56 | void setVisibleMode( bool b ) { visibleMode = b;} | 61 | void setVisibleMode( bool b ) { visibleMode = b;} |