summaryrefslogtreecommitdiffstats
path: root/kviewshell/plugins/djvu/libdjvu/DjVuImage.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-19 19:03:33 +0000
commite69e8b1d09fb579316595b4e6a850e717358a8b1 (patch)
treea24fc20865f65772f530d16177520190594ffdd2 /kviewshell/plugins/djvu/libdjvu/DjVuImage.h
parenteecec9afb81fdebb0f22e9da22635874c403f854 (diff)
downloadtdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.tar.gz
tdegraphics-e69e8b1d09fb579316595b4e6a850e717358a8b1.zip
TQt4 port kdegraphics
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1237557 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kviewshell/plugins/djvu/libdjvu/DjVuImage.h')
-rw-r--r--kviewshell/plugins/djvu/libdjvu/DjVuImage.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/kviewshell/plugins/djvu/libdjvu/DjVuImage.h b/kviewshell/plugins/djvu/libdjvu/DjVuImage.h
index 57b40938..7f2e836a 100644
--- a/kviewshell/plugins/djvu/libdjvu/DjVuImage.h
+++ b/kviewshell/plugins/djvu/libdjvu/DjVuImage.h
@@ -123,7 +123,7 @@ class DjVuInterface
public:
virtual ~DjVuInterface();
virtual void notify_chunk(const char *chkid, const char *msg) = 0;
- virtual void notify_relayout(void) = 0;
+ virtual void notify_retqlayout(void) = 0;
virtual void notify_redisplay(void) = 0;
};
@@ -185,13 +185,13 @@ public:
function returns a null pointer until the decoder actually processes an
#"BGjp"# chunk. */
GP<GPixmap> get_bgpm() const;
- /** Returns a pointer to the mask of the foreground component of a DjVu
- image. The mask of the foreground component is always a JB2 image in
+ /** Returns a pointer to the tqmask of the foreground component of a DjVu
+ image. The tqmask of the foreground component is always a JB2 image in
this implementation. This function returns a null pointer until the
decoder actually processes an #"Sjbz"# chunk. */
GP<JB2Image> get_fgjb() const;
/** Returns a pointer to the colors of the foreground component of a DjVu
- image. The mask of the foreground component is always a small pixmap in
+ image. The tqmask of the foreground component is always a small pixmap in
this implementation. This function returns a null pointer until the
decoder actually processes an #"FG44"# chunk. */
GP<GPixmap> get_fgpm() const;
@@ -284,7 +284,7 @@ public:
\begin{verbatim}
DJVU Image (2325x3156) version 17:
0.0 Kb 'INFO' Page information.
- 17.3 Kb 'Sjbz' JB2 foreground mask (2325x3156)
+ 17.3 Kb 'Sjbz' JB2 foreground tqmask (2325x3156)
2.5 Kb 'BG44' IW44 background (775x1052)
1.0 Kb 'FG44' IW44 foreground colors (194x263)
3.0 Kb 'BG44' IW44 background (part 2).
@@ -318,7 +318,7 @@ public:
/** This function returns true if this object contains a well formed {\em
Bilevel DjVu Image}. Calling function #get_bitmap# on a well formed
bilevel image should always return a non zero value. Note that function
- #get_bitmap# works as soon as a foreground mask component is present,
+ #get_bitmap# works as soon as a foreground tqmask component is present,
regardless of the fact that the image follows the rules or not. */
int is_legal_bilevel() const;
/** This function returns true if this object contains a well formed {\em
@@ -351,9 +351,9 @@ public:
This function returns a null pointer if there is not enough information
in the DjVu image to properly render the desired image. */
GP<GPixmap> get_pixmap(const GRect &rect, const GRect &all, double gamma=0) const;
- /** Renders the mask of the foreground layer of the DjVu image. This
+ /** Renders the tqmask of the foreground layer of the DjVu image. This
functions is a wrapper for \Ref{JB2Image::get_bitmap}. Argument #align#
- specified the alignment of the rows of the returned images. Setting
+ specified the tqalignment of the rows of the returned images. Setting
#align# to #4#, for instance, will adjust the bitmap border in order to
make sure that each row of the returned image starts on a word (four
byte) boundary. This function returns a null pointer if there is not
@@ -414,7 +414,7 @@ public:
private:
GP<DjVuFile> file;
int rotate_count;
- bool relayout_sent;
+ bool retqlayout_sent;
// HELPERS
int stencil(GPixmap *pm, const GRect &rect, int subs, double gcorr) const;