~ubuntu-branches/ubuntu/trusty/bibletime/trusty

« back to all changes in this revision

Viewing changes to src/backend/keys/cswordkey.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs, Jonathan Marsden, Dmitrijs Ledkovs
  • Date: 2012-04-14 18:11:50 UTC
  • mfrom: (1.3.7)
  • Revision ID: package-import@ubuntu.com-20120414181150-17l2liq7bl7oaxjz
Tags: 2.9.1-1
[ Jonathan Marsden ]
* New upstream version 2.9.1
* debian/patches/*: Remove all patches (incorporated upstream)
* debian/control: bibletime now depends on a matching version of
  bibletime-data.

[ Dmitrijs Ledkovs ]
* Add more strict alternative build-dependency on the libqt4-dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
81
81
        /** Returns the raw, unchanged text. Returns the text without any filter modifications,
82
82
         * just in the way it comes out of the module.
83
83
         */
84
 
        virtual QString rawText();
 
84
        QString rawText();
85
85
        /** Returns the rendered text. Returns the text of the current key after passing it through the
86
86
         * modules filters.
87
87
         */
88
 
        virtual QString renderedText( const CSwordKey::TextRenderType mode = CSwordKey::Normal );
 
88
        QString renderedText( const CSwordKey::TextRenderType mode = CSwordKey::Normal );
89
89
        /** Stripped down text. Returns the text after removing all markup tags from it.
90
90
         */
91
 
        virtual QString strippedText();
 
91
        QString strippedText();
92
92
 
93
93
        const BtSignal *signaler();
94
94
 
100
100
         */
101
101
        static CSwordKey* createInstance(const CSwordModuleInfo *module);
102
102
 
 
103
        /**
 
104
         * This is called before a key change to emit a signal
 
105
         * */
 
106
        void emitBeforeChanged();
 
107
        /**
 
108
         * This is called after a key change to emit a signal
 
109
         * */
 
110
        void emitChanged();
 
111
 
103
112
    protected:
104
113
        /**
105
114
         * Returns the encoded key appropriate for use directly with Sword.
106
115
         */
107
116
        virtual const char * rawKey() const = 0;
108
117
        static inline const QTextCodec *cp1252Codec() { return m_cp1252Codec; };
109
 
        void emitChanged();
110
118
 
111
119
    private:
112
120
        /**