]> Git trees. - libqmvoc.git/commitdiff
Begin reworking the wizard to reflect changes in the document classes.
authorFrederik Gladhorn <gladhorn@kde.org>
Mon, 3 Sep 2007 15:45:39 +0000 (15:45 +0000)
committerFrederik Gladhorn <gladhorn@kde.org>
Mon, 3 Sep 2007 15:45:39 +0000 (15:45 +0000)
  - added author title etc page.
  - added category combobox to author title page.
  - added get/set methods for category to keduvocdocument
  - added a new identifier name/locale page
The old pages are still there, but will be removed, when the new stuff is working.
Writing/reading of the category still missing.

svn path=/trunk/KDE/kdeedu/libkdeedu/; revision=708003

keduvocdocument/keduvocdocument.cpp
keduvocdocument/keduvocdocument.h

index 82137a6c42ce1a757e686565255ace747af39f4d..8c051b141cbabd28905ecd3de064aaef5e2bacf8 100644 (file)
@@ -948,6 +948,16 @@ QString KEduVocDocument::documentComment() const
     return d->m_comment;
 }
 
+void KEduVocDocument::setCategory( const QString & category )
+{
+    d->m_category = category;
+}
+
+QString KEduVocDocument::category() const
+{
+    return d->m_category;
+    ///@todo make writer/reader use this
+}
 
 void KEduVocDocument::queryIdentifier( QString &org, QString &trans ) const
 {
index 5d8819a631bf3c5c5238029b436a06821d2bb584..72732766fd2e5b7721bfb5aea026ff23ece1a316 100644 (file)
@@ -147,6 +147,13 @@ public:
     /** @return the comment of the file */
     QString documentComment() const;
 
+    /** set the category of the file
+     * @param category category to set */
+    void setCategory( const QString & category );
+
+    /** @return the category of the file */
+    QString category() const;
+
     /**
      * Sets the generator of the file
      */