TQt4 port kuickshow

This enables compilation under both Qt3 and Qt4

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kuickshow@1239028 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
tpearson 12 years ago
parent 17177ee9cc
commit d5c0d088ad
  1. 108
  2. 19
  3. 42
  4. 1
  5. 24
  6. 424
  7. 41
  8. 66
  9. 2
  10. 4
  11. 1
  12. 11
  13. 99
  14. 15
  15. 44
  16. 11
  17. 86
  18. 27
  19. 16
  20. 8
  21. 30
  22. 13
  23. 82
  24. 25
  25. 68
  26. 17
  27. 214
  28. 51
  29. 90
  30. 56
  31. 2
  32. 12
  33. 12
  34. 5
  35. 6
  36. 8
  37. 40
  38. 15
  39. 70
  40. 15
  41. 268
  42. 33
  43. 8
  44. 3
  45. 2
  46. 10
  47. 13
  48. 140
  49. 31
  50. 26
  51. 11

@ -1,108 +0,0 @@
ifndef _cdbs_bootstrap
_cdbs_scripts_path ?= /usr/lib/cdbs
_cdbs_rules_path ?= /usr/share/cdbs/1/rules
_cdbs_class_path ?= /usr/share/cdbs/1/class
ifndef _cdbs_class_debian-qt-kde
_cdbs_class_debian-qt-kde := 1
# Note: This _must_ be included before autotools.mk, or it won't work.
common-configure-arch common-configure-indep:: debian/stamp-cvs-make
if test -n "$(DEB_KDE_CVS_MAKE)" -a ! -f configure; then \
$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist; \
touch debian/stamp-cvs-make
include /usr/share/cdbs/1/class/kde.mk$(_cdbs_makefile_suffix)
DEB_PATCHDIRS := debian/patches/common debian/patches
DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
cdbs_treat_me_gently_arches := arm m68k alpha ppc64
ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
cdbs_kde_enable_final =
common-build-arch:: debian/stamp-man-pages
if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
for f in $$(find debian/man -name '*.sgml'); do \
docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
for f in $$(find debian/man -name '*.man'); do \
soelim -I debian/man $$f \
> debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
touch debian/stamp-man-pages
( set -e; \
tmpf=`mktemp debian/versions.XXXXXX`; \
perl debian/cdbs/versions.pl >$$tmpf; \
for p in $(DEB_INDEP_PACKAGES); do \
cat $$tmpf >>debian/$$p.substvars; \
done; \
rm -f $$tmpf )
( set -e; \
tmpf=`mktemp debian/versions.XXXXXX`; \
perl debian/cdbs/versions.pl >$$tmpf; \
for p in $(DEB_ARCH_PACKAGES); do \
cat $$tmpf >>debian/$$p.substvars; \
done; \
rm -f $$tmpf )
rm -rf debian/man/out
-rmdir debian/man
rm -f debian/stamp-man-pages
rm -rf debian/shlibs-check
$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
if test -e debian/$(cdbs_curpkg).lintian; then \
install -p -D -m644 debian/$(cdbs_curpkg).lintian \
debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
if test -e debian/$(cdbs_curpkg).presubj; then \
install -p -D -m644 debian/$(cdbs_curpkg).presubj \
debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
set -e; \
for doc in `cd $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en; find . -name index.docbook`; do \
pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
echo Building $$pkg HTML docs...; \
mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
/usr/kde3/bin/meinproc $(DEB_DESTDIR)/usr/share/doc/kde/HTML/en/$$pkg/index.docbook; \
for pkg in $(DOC_HTML_PRUNE) ; do \
rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/usr/share/doc/kde/HTML/en/$$pkg; \
if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
cd $(DEB_SRCDIR); \
find . -name Makefile.in -print | \
xargs --no-run-if-empty rm -f; \
rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
configure configure.files configure.in stamp-h.in \
subdirs; \
rm -f debian/stamp-cvs-make

@ -1,19 +0,0 @@
#!/usr/bin/env perl
use strict;
use warnings;
my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
my ($version3, $version3_next);
my ($version2, $version2_next);
($version3 = $version) =~ s/-[^-]+$//;
($version2 = $version3) =~ s/\.[^.]+$//;
($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
print "KDE-Version3=$version3\n";
print "KDE-Version2=$version2\n";
print "KDE-Next-Version3=$version3_next\n";
print "KDE-Next-Version2=$version2_next\n";

debian/changelog vendored

@ -1,42 +0,0 @@
kuickshow-kde3 (4:3.5.8-0ubuntu3) karmic; urgency=low
* Karmic rebuild
-- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600
kuickshow-kde3 (4:3.5.8-0ubuntu2) intrepid; urgency=low
* Moved KDE3 to /opt/kde3
* Integrated properly with KDE4.2+
-- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600
kuickshow-kde3 (4:3.5.8-0ubuntu1) intrepid; urgency=low
* Added -kde3 suffix
-- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 12 Dec 2008 14:28:00 -0600
kuickshow (4:3.5.8-0ubuntu2) hardy; urgency=low
* No change recompile to build against libgif (not libungif)
-- Jonathan Riddell <jriddell@ubuntu.com> Mon, 07 Jan 2008 10:26:21 +0000
kuickshow (4:3.5.8-0ubuntu1) hardy; urgency=low
* New upstream release, extracted from kdegraphics 3.5.8
-- Jonathan Riddell <jriddell@ubuntu.com> Wed, 14 Nov 2007 17:59:49 +0000
kuickshow (4:3.5.7-0ubuntu1) gutsy; urgency=low
* New upstream release, extracted from kdegraphics 3.5.7
-- Jonathan Riddell <jriddell@ubuntu.com> Sun, 03 Jun 2007 14:45:49 +0100
kuickshow (4:3.5.6-0ubuntu1) feisty; urgency=low
* Initial package, separate from kdegraphics due to imlib11 not being in main
-- Jonathan Riddell <jriddell@ubuntu.com> Wed, 28 Feb 2007 16:29:08 +0000

debian/compat vendored

@ -1 +0,0 @@

debian/control vendored

@ -1,24 +0,0 @@
Source: kuickshow-kde3
Section: kde
Priority: optional
Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Build-Depends: cdbs (>= 0.4.39-0.1), debhelper (>= 5.0.31), autotools-dev, gawk, kdelibs4-kde3-dev (>= 4:3.5.6), imlib11-dev
Standards-Version: 3.7.2
Package: kuickshow-kde3
Section: graphics
Architecture: any
Depends: ${shlibs:Depends}
Suggests: khelpcenter-kde3
Description: KDE image/slideshow viewer [KDE3]
KuickShow is an image browser/viewer with a nice filebrowser to
select images to be shown, slideshow support and the ability to
display the following image formats: jpg, gif, tiff, png, bmp, psd,
xpm, xbm, pbm and eim. Images can be displayed either in their own
window, as large as the image, or fullscreen (which shrinks images too
large to display). KuickShow also has a slideshow mode.
This package is part of KDE, as a component of the KDE graphics
module. See the 'kde' and 'kdegraphics' packages for more information.
Homepage: http://kuickshow.sourceforge.net

debian/copyright vendored

@ -1,424 +0,0 @@
This package was debianized by Christopher L Cheney <ccheney@debian.org> on
Tue, 16 Apr 2002 22:00:00 -0500.
It was downloaded from: http://www.kde.org/download
Upstream Authors: Stephan Kulow <coolo@kde.org> and many others.
All programs are under the GPL. On Debian systems, the complete text of
the GPL license can be found in the /usr/share/common-licenses/GPL file.
DocBook Documentation:
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.1 or any later version published by the Free Software
Foundation; with no Invariant Sections, with no Front-Cover Texts,
and with no Back-Cover Texts.
A copy of the GNU Free Documentation License (Version 1.2) is
included below.
GNU Free Documentation License
Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
51 Franklin St, Fifth Floor, Boston, MA, 02110-1301, USA.
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
The purpose of this License is to make a manual, textbook, or other
functional and useful document "free" in the sense of freedom: to
assure everyone the effective freedom to copy and redistribute it,
with or without modifying it, either commercially or noncommercially.
Secondarily, this License preserves for the author and publisher a way
to get credit for their work, while not being considered responsible
for modifications made by others.
This License is a kind of "copyleft", which means that derivative
works of the document must themselves be free in the same sense. It
complements the GNU General Public License, which is a copyleft
license designed for free software.
We have designed this License in order to use it for manuals for free
software, because free software needs free documentation: a free
program should come with manuals providing the same freedoms that the
software does. But this License is not limited to software manuals;
it can be used for any textual work, regardless of subject matter or
whether it is published as a printed book. We recommend this License
principally for works whose purpose is instruction or reference.
This License applies to any manual or other work, in any medium, that
contains a notice placed by the copyright holder saying it can be
distributed under the terms of this License. Such a notice grants a
world-wide, royalty-free license, unlimited in duration, to use that
work under the conditions stated herein. The "Document", below,
refers to any such manual or work. Any member of the public is a
licensee, and is addressed as "you". You accept the license if you
copy, modify or distribute the work in a way requiring permission
under copyright law.
A "Modified Version" of the Document means any work containing the
Document or a portion of it, either copied verbatim, or with
modifications and/or translated into another language.
A "Secondary Section" is a named appendix or a front-matter section of
the Document that deals exclusively with the relationship of the
publishers or authors of the Document to the Document's overall subject
(or to related matters) and contains nothing that could fall directly
within that overall subject. (Thus, if the Document is in part a
textbook of mathematics, a Secondary Section may not explain any
mathematics.) The relationship could be a matter of historical
connection with the subject or with related matters, or of legal,
commercial, philosophical, ethical or political position regarding
The "Invariant Sections" are certain Secondary Sections whose titles
are designated, as being those of Invariant Sections, in the notice
that says that the Document is released under this License. If a
section does not fit the above definition of Secondary then it is not
allowed to be designated as Invariant. The Document may contain zero
Invariant Sections. If the Document does not identify any Invariant
Sections then there are none.
The "Cover Texts" are certain short passages of text that are listed,
as Front-Cover Texts or Back-Cover Texts, in the notice that says that
the Document is released under this License. A Front-Cover Text may
be at most 5 words, and a Back-Cover Text may be at most 25 words.
A "Transparent" copy of the Document means a machine-readable copy,
represented in a format whose specification is available to the
general public, that is suitable for revising the document
straightforwardly with generic text editors or (for images composed of
pixels) generic paint programs or (for drawings) some widely available
drawing editor, and that is suitable for input to text formatters or
for automatic translation to a variety of formats suitable for input
to text formatters. A copy made in an otherwise Transparent file
format whose markup, or absence of markup, has been arranged to thwart
or discourage subsequent modification by readers is not Transparent.
An image format is not Transparent if used for any substantial amount
of text. A copy that is not "Transparent" is called "Opaque".
Examples of suitable formats for Transparent copies include plain
ASCII without markup, Texinfo input format, LaTeX input format, SGML
or XML using a publicly available DTD, and standard-conforming simple
HTML, PostScript or PDF designed for human modification. Examples of
transparent image formats include PNG, XCF and JPG. Opaque formats
include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML for which the DTD and/or
processing tools are not generally available, and the
machine-generated HTML, PostScript or PDF produced by some word
processors for output purposes only.
The "Title Page" means, for a printed book, the title page itself,
plus such following pages as are needed to hold, legibly, the material
this License requires to appear in the title page. For works in
formats which do not have any title page as such, "Title Page" means
the text near the most prominent appearance of the work's title,
preceding the beginning of the body of the text.
A section "Entitled XYZ" means a named subunit of the Document whose
title either is precisely XYZ or contains XYZ in parentheses following
text that translates XYZ in another language. (Here XYZ stands for a
specific section name mentioned below, such as "Acknowledgements",
"Dedications", "Endorsements", or "History".) To "Preserve the Title"
of such a section when you modify the Document means that it remains a
section "Entitled XYZ" according to this definition.
The Document may include Warranty Disclaimers next to the notice which
states that this License applies to the Document. These Warranty
Disclaimers are considered to be included by reference in this
License, but only as regards disclaiming warranties: any other
implication that these Warranty Disclaimers may have is void and has
no effect on the meaning of this License.
You may copy and distribute the Document in any medium, either
commercially or noncommercially, provided that this License, the
copyright notices, and the license notice saying this License applies
to the Document are reproduced in all copies, and that you add no other
conditions whatsoever to those of this License. You may not use
technical measures to obstruct or control the reading or further
copying of the copies you make or distribute. However, you may accept
compensation in exchange for copies. If you distribute a large enough
number of copies you must also follow the conditions in section 3.
You may also lend copies, under the same conditions stated above, and
you may publicly display copies.
If you publish printed copies (or copies in media that commonly have
printed covers) of the Document, numbering more than 100, and the
Document's license notice requires Cover Texts, you must enclose the
copies in covers that carry, clearly and legibly, all these Cover
Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
the back cover. Both covers must also clearly and legibly identify
you as the publisher of these copies. The front cover must present
the full title with all words of the title equally prominent and
visible. You may add other material on the covers in addition.
Copying with changes limited to the covers, as long as they preserve
the title of the Document and satisfy these conditions, can be treated
as verbatim copying in other respects.
If the required texts for either cover are too voluminous to fit
legibly, you should put the first ones listed (as many as fit
reasonably) on the actual cover, and continue the rest onto adjacent
If you publish or distribute Opaque copies of the Document numbering
more than 100, you must either include a machine-readable Transparent
copy along with each Opaque copy, or state in or with each Opaque copy
a computer-network location from which the general network-using
public has access to download using public-standard network protocols
a complete Transparent copy of the Document, free of added material.
If you use the latter option, you must take reasonably prudent steps,
when you begin distribution of Opaque copies in quantity, to ensure
that this Transparent copy will remain thus accessible at the stated
location until at least one year after the last time you distribute an
Opaque copy (directly or through your agents or retailers) of that
edition to the public.
It is requested, but not required, that you contact the authors of the
Document well before redistributing any large number of copies, to give
them a chance to provide you with an updated version of the Document.
You may copy and distribute a Modified Version of the Document under
the conditions of sections 2 and 3 above, provided that you release
the Modified Version under precisely this License, with the Modified
Version filling the role of the Document, thus licensing distribution
and modification of the Modified Version to whoever possesses a copy
of it. In addition, you must do these things in the Modified Version:
A. Use in the Title Page (and on the covers, if any) a title distinct
from that of the Document, and from those of previous versions
(which should, if there were any, be listed in the History section
of the Document). You may use the same title as a previous version
if the original publisher of that version gives permission.
B. List on the Title Page, as authors, one or more persons or entities
responsible for authorship of the modifications in the Modified
Version, together with at least five of the principal authors of the
Document (all of its principal authors, if it has fewer than five),
unless they release you from this requirement.
C. State on the Title page the name of the publisher of the
Modified Version, as the publisher.
D. Preserve all the copyright notices of the Document.
E. Add an appropriate copyright notice for your modifications
adjacent to the other copyright notices.
F. Include, immediately after the copyright notices, a license notice
giving the public permission to use the Modified Version under the
terms of this License, in the form shown in the Addendum below.
G. Preserve in that license notice the full lists of Invariant Sections
and required Cover Texts given in the Document's license notice.
H. Include an unaltered copy of this License.
I. Preserve the section Entitled "History", Preserve its Title, and add
to it an item stating at least the title, year, new authors, and
publisher of the Modified Version as given on the Title Page. If
there is no section Entitled "History" in the Document, create one
stating the title, year, authors, and publisher of the Document as
given on its Title Page, then add an item describing the Modified
Version as stated in the previous sentence.
J. Preserve the network location, if any, given in the Document for
public access to a Transparent copy of the Document, and likewise
the network locations given in the Document for previous versions
it was based on. These may be placed in the "History" section.
You may omit a network location for a work that was published at
least four years before the Document itself, or if the original
publisher of the version it refers to gives permission.
K. For any section Entitled "Acknowledgements" or "Dedications",
Preserve the Title of the section, and preserve in the section all
the substance and tone of each of the contributor acknowledgements
and/or dedications given therein.
L. Preserve all the Invariant Sections of the Document,
unaltered in their text and in their titles. Section numbers
or the equivalent are not considered part of the section titles.
M. Delete any section Entitled "Endorsements". Such a section
may not be included in the Modified Version.
N. Do not retitle any existing section to be Entitled "Endorsements"
or to conflict in title with any Invariant Section.
O. Preserve any Warranty Disclaimers.
If the Modified Version includes new front-matter sections or
appendices that qualify as Secondary Sections and contain no material
copied from the Document, you may at your option designate some or all
of these sections as invariant. To do this, add their titles to the
list of Invariant Sections in the Modified Version's license notice.
These titles must be distinct from any other section titles.
You may add a section Entitled "Endorsements", provided it contains
nothing but endorsements of your Modified Version by various
parties--for example, statements of peer review or that the text has
been approved by an organization as the authoritative definition of a
You may add a passage of up to five words as a Front-Cover Text, and a
passage of up to 25 words as a Back-Cover Text, to the end of the list
of Cover Texts in the Modified Version. Only one passage of
Front-Cover Text and one of Back-Cover Text may be added by (or
through arrangements made by) any one entity. If the Document already
includes a cover text for the same cover, previously added by you or
by arrangement made by the same entity you are acting on behalf of,
you may not add another; but you may replace the old one, on explicit
permission from the previous publisher that added the old one.
The author(s) and publisher(s) of the Document do not by this License
give permission to use their names for publicity for or to assert or
imply endorsement of any Modified Version.
You may combine the Document with other documents released under this
License, under the terms defined in section 4 above for modified
versions, provided that you include in the combination all of the
Invariant Sections of all of the original documents, unmodified, and
list them all as Invariant Sections of your combined work in its
license notice, and that you preserve all their Warranty Disclaimers.
The combined work need only contain one copy of this License, and
multiple identical Invariant Sections may be replaced with a single
copy. If there are multiple Invariant Sections with the same name but
different contents, make the title of each such section unique by
adding at the end of it, in parentheses, the name of the original
author or publisher of that section if known, or else a unique number.
Make the same adjustment to the section titles in the list of
Invariant Sections in the license notice of the combined work.
In the combination, you must combine any sections Entitled "History"
in the various original documents, forming one section Entitled
"History"; likewise combine any sections Entitled "Acknowledgements",
and any sections Entitled "Dedications". You must delete all sections
Entitled "Endorsements".
You may make a collection consisting of the Document and other documents
released under this License, and replace the individual copies of this
License in the various documents with a single copy that is included in
the collection, provided that you follow the rules of this License for
verbatim copying of each of the documents in all other respects.
You may extract a single document from such a collection, and distribute
it individually under this License, provided you insert a copy of this
License into the extracted document, and follow this License in all
other respects regarding verbatim copying of that document.
A compilation of the Document or its derivatives with other separate
and independent documents or works, in or on a volume of a storage or
distribution medium, is called an "aggregate" if the copyright
resulting from the compilation is not used to limit the legal rights
of the compilation's users beyond what the individual works permit.
When the Document is included in an aggregate, this License does not
apply to the other works in the aggregate which are not themselves
derivative works of the Document.
If the Cover Text requirement of section 3 is applicable to these
copies of the Document, then if the Document is less than one half of
the entire aggregate, the Document's Cover Texts may be placed on
covers that bracket the Document within the aggregate, or the
electronic equivalent of covers if the Document is in electronic form.
Otherwise they must appear on printed covers that bracket the whole
Translation is considered a kind of modification, so you may
distribute translations of the Document under the terms of section 4.
Replacing Invariant Sections with translations requires special
permission from their copyright holders, but you may include
translations of some or all Invariant Sections in addition to the
original versions of these Invariant Sections. You may include a
translation of this License, and all the license notices in the
Document, and any Warranty Disclaimers, provided that you also include
the original English version of this License and the original versions
of those notices and disclaimers. In case of a disagreement between
the translation and the original version of this License or a notice
or disclaimer, the original version will prevail.
If a section in the Document is Entitled "Acknowledgements",
"Dedications", or "History", the requirement (section 4) to Preserve
its Title (section 1) will typically require changing the actual
You may not copy, modify, sublicense, or distribute the Document except
as expressly provided for under this License. Any other attempt to
copy, modify, sublicense or distribute the Document is void, and will
automatically terminate your rights under this License. However,
parties who have received copies, or rights, from you under this
License will not have their licenses terminated so long as such
parties remain in full compliance.
The Free Software Foundation may publish new, revised versions
of the GNU Free Documentation License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns. See
Each version of the License is given a distinguishing version number.
If the Document specifies that a particular numbered version of this
License "or any later version" applies to it, you have the option of
following the terms and conditions either of that specified version or
of any later version that has been published (not as a draft) by the
Free Software Foundation. If the Document does not specify a version
number of this License, you may choose any version ever published (not
as a draft) by the Free Software Foundation.
ADDENDUM: How to use this License for your documents
To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and
license notices just after the title page:
Copyright (c) YEAR YOUR NAME.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.2
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled
"GNU Free Documentation License".
If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
replace the "with...Texts." line with this:
with the Invariant Sections being LIST THEIR TITLES, with the
Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
If you have Invariant Sections without Cover Texts, or some other
combination of the three, merge those two alternatives to suit the
If your document contains nontrivial examples of program code, we
recommend releasing these examples in parallel under your choice of
free software license, such as the GNU General Public License,
to permit their use in free software.

@ -1,41 +0,0 @@
/* XPM */
static char *kuickshow-16[] = {
/* columns rows colors chars-per-pixel */
"16 14 21 1",
" c black",
". c #000033",
"X c gray20",
"o c #006633",
"O c #336633",
"+ c #0033FF",
"@ c #3333FF",
"# c #6666FF",
"$ c #009933",
"% c #669933",
"& c #9900CC",
"* c #9933CC",
"= c #9933FF",
"- c #9966FF",
"; c #CC66CC",
": c #9999FF",
"> c #CC99FF",
", c #CCCCFF",
"< c #FFCCFF",
"1 c gray100",
"2 c None",
/* pixels */
"-11>-=>* @@+:@+2",
"1<::@=. @-:@*222",

@ -1,66 +0,0 @@
/* XPM */
static char *kuickshow[] = {
/* columns rows colors chars-per-pixel */
"32 29 31 1",
" c black",
". c #000033",
"X c #003333",
"o c gray20",
"O c #006633",
"+ c #336633",
"@ c #0033FF",
"# c #3333FF",
"$ c #6666FF",
"% c #009933",
"& c #339933",
"* c #669933",
"= c #6699CC",
"- c #6699FF",
"; c #9900CC",
": c #9900FF",
"> c #9933CC",
", c #9933FF",
"< c #9966CC",
"1 c #9966FF",
"2 c #CC00CC",
"3 c #CC66CC",
"4 c #CC66FF",
"5 c #9999CC",
"6 c #9999FF",
"7 c #CC99FF",
"8 c #FF99FF",
"9 c #CCCCFF",
"0 c #FFCCFF",
"q c gray100",
"w c None",
/* pixels */
"www71717616#>,q, 6@6##@15$11@#>w",
"w1790997616,q7,, #@#@##@#6@##1ww",
"1q9096@6@#.,,. #@#=1666#,>,wwwww",

@ -1,2 +0,0 @@
debian/icons/kuickshow.xpm /opt/kde3/share/pixmaps
debian/icons/kuickshow-16.xpm /opt/kde3/share/pixmaps

@ -1,4 +0,0 @@
kuickshow-kde3: no-shlibs-control-file opt/kde3/lib/libkdeinit_kuickshow.so
kuickshow-kde3: postinst-must-call-ldconfig opt/kde3/lib/libkdeinit_kuickshow.so
kuickshow-kde3: postrm-should-call-ldconfig opt/kde3/lib/libkdeinit_kuickshow.so
kuickshow-kde3: package-name-doesnt-match-sonames libkdeinit-kuickshow

@ -1 +0,0 @@

@ -1,11 +0,0 @@
# Icon 32x32 kuickshow/src/cr32-app-kuickshow.png kuickshow.xpm
# Icon 16x16 kuickshow/src/cr16-app-kuickshow.png kuickshow-16.xpm

@ -1,99 +0,0 @@
.TH KUICKSHOW "1" "September 2002" KDE "KDE Application"
kuickshow \- KDE Image Viewer
.B kuickshow
[\fIQt-options\fR] [\fIKDE-options\fR] [\fIoptions\fR] [\fIfiles\fR]
This manual page documents briefly the
.B Kuickshow
KDE Application.
This manual page was written for the Debian GNU/Linux distribution
because the original program does not have a manual page.
.B KuickShow
is a comfortable image browser/viewer. It displays a
filebrowser where you can select images which are then shown.
The following image formats are supported:
\(bu jpg
\(bu gif
\(bu tiff
\(bu png
\(bu bmp
\(bu psd
\(bu xmp
\(bu xbm
\(bu eim
Images can be displayed either in their own window, as large as the
image, or fullscreen.
This program is part of the official KDE graphics module.
.SS "Generic options:"
Show help about options
Show Qt specific options
Show KDE specific options
Show all options
Show author information
\fB\-v\fR, \fB\-\-version\fR
Show version information
Show license information
End of options
Start in the last visited directory, not the current working directory
.SS "Arguments:"
Optional image filenames/urls to show
The full documentation for
.B Kuickshow
is maintained as a docbook manual. If the
.B khelpcenter
program is properly installed at your site, the command
.B khelpcenter help:/kuickshow
should give you access to the complete manual.
KuickShow was written by
Carsten Pfeiffer <pfeiffer@kde.org>.
Please use http://bugs.kde.org to report bugs, do not mail the authors directly.
This manual page was prepared by
Karolina Lindqvist <pgd\-karolinali@algonet.se>
for the Debian GNU/Linux system (but may be used by others).

debian/rules vendored

@ -1,15 +0,0 @@
#! /usr/bin/make -f
include /usr/share/cdbs/1/rules/debhelper.mk
include debian/cdbs/debian-qt-kde.mk
include /usr/share/cdbs/1/rules/simple-patchsys.mk
include /usr/share/cdbs/1/rules/utils.mk
DEB_CONFIGURE_INCLUDEDIR := /opt/kde3/include/kde
DEB_CONFIGURE_MANDIR := /opt/kde3/share/man
DEB_CONFIGURE_INFODIR := /opt/kde3/share/info
cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
DEB_CONFIGURE_EXTRA_FLAGS := --prefix=/opt/kde3 --with-extra-libs=/opt/kde3/lib --with-extra-includes=/opt/kde3/include/kde

@ -16,11 +16,11 @@
Boston, MA 02110-1301, USA.
#include <qdatetime.h>
#include <qevent.h>
#include <qglobal.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <tqdatetime.h>
#include <tqevent.h>
#include <tqglobal.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <kwin.h>
#include <kstandarddirs.h>
@ -31,40 +31,40 @@
#include "aboutwidget.h"
AboutWidget::AboutWidget( QWidget *parent, const char *name )
: QVBox( parent, name, Qt::WShowModal )
AboutWidget::AboutWidget( TQWidget *tqparent, const char *name )
: TQVBox( tqparent, name, TQt::WShowModal )
KWin::setType( winId(), NET::Override );
KWin::setState( winId(), NET::SkipTaskbar );
setFrameStyle( WinPanel | Raised );
QGroupBox *gBox = new QGroupBox( 1, Horizontal, this);
TQGroupBox *gBox = new TQGroupBox( 1,Qt::Horizontal, this);
gBox->setGeometry( 10, 10, width()-20, height()-20 );
gBox->setAlignment( AlignHCenter );
gBox->tqsetAlignment( AlignHCenter );
gBox->installEventFilter( this );
gBox->setPalette( QPalette( QColor( white ) ) );
gBox->setPalette( TQPalette( TQColor( white ) ) );
gBox->setBackgroundMode( PaletteBackground );
int hour = QTime::currentTime().hour();
QString file;
int hour = TQTime::currentTime().hour();
TQString file;
if ( hour >= 10 && hour < 16 )
file = locate("appdata", "pics/kuickshow-day.jpg");
file = locate("appdata", "pics/kuickshow-night.jpg");
QLabel *authors = new QLabel("Kuickshow " KUICKSHOWVERSION
TQLabel *authors = new TQLabel("Kuickshow " KUICKSHOWVERSION
" was brought to you by", gBox);
authors->setAlignment( AlignCenter );
authors->tqsetAlignment( AlignCenter );
m_homepage = new KURLWidget("Carsten Pfeiffer", gBox);
m_homepage->setURL( "http://devel-home.kde.org/~pfeiffer/kuickshow/" );
m_homepage->setAlignment( AlignCenter );
m_homepage->tqsetAlignment( AlignCenter );
QLabel *copy = new QLabel("(C) 1998-2006", gBox);
copy->setAlignment( AlignCenter );
TQLabel *copy = new TQLabel("(C) 1998-2006", gBox);
copy->tqsetAlignment( AlignCenter );
ImlibWidget *im = new ImlibWidget( 0L, gBox, "KuickShow Logo" );
if ( im->loadImage( file ) )
@ -80,16 +80,16 @@ AboutWidget::~AboutWidget()
bool AboutWidget::eventFilter( QObject *o, QEvent *e )
bool AboutWidget::eventFilter( TQObject *o, TQEvent *e )
if ( e->type() == QEvent::MouseButtonPress ) {
QMouseEvent *ev = static_cast<QMouseEvent*>( e );
if ( !m_homepage->geometry().contains( ev->pos() ) ) {
if ( e->type() == TQEvent::MouseButtonPress ) {
TQMouseEvent *ev = TQT_TQMOUSEEVENT( e );
if ( !m_homepage->tqgeometry().tqcontains( ev->pos() ) ) {
return true;
return QVBox::eventFilter( o, e );
return TQVBox::eventFilter( o, e );
#include "aboutwidget.moc"

@ -19,21 +19,22 @@
#include <qevent.h>
#include <qvbox.h>
#include <tqevent.h>
#include <tqvbox.h>
class KURLWidget;
class AboutWidget : public QVBox
class AboutWidget : public TQVBox
AboutWidget(QWidget *parent = 0, const char *name = 0);
AboutWidget(TQWidget *tqparent = 0, const char *name = 0);
bool eventFilter( QObject*, QEvent * );
bool eventFilter( TQObject*, TQEvent * );
KURLWidget *m_homepage;

@ -16,11 +16,11 @@
Boston, MA 02110-1301, USA.
#include <qcheckbox.h>
#include <qgroupbox.h>
#include <qlabel.h>
#include <qlayout.h>
#include <qvgroupbox.h>
#include <tqcheckbox.h>
#include <tqgroupbox.h>
#include <tqlabel.h>
#include <tqlayout.h>
#include <tqvgroupbox.h>
#include <kcombobox.h>
#include <kdialog.h>
@ -31,40 +31,40 @@
#include "imlibwidget.h"
#include "defaultswidget.h"
DefaultsWidget::DefaultsWidget( QWidget *parent, const char *name)
: QWidget( parent, name )
DefaultsWidget::DefaultsWidget( TQWidget *tqparent, const char *name)
: TQWidget( tqparent, name )
imFiltered = 0L;
cbEnableMods = new QCheckBox( i18n("Apply default image modifications"), this );
connect( cbEnableMods, SIGNAL( toggled(bool) ), SLOT( enableWidgets(bool) ));
cbEnableMods = new TQCheckBox( i18n("Apply default image modifications"), this );
connect( cbEnableMods, TQT_SIGNAL( toggled(bool) ), TQT_SLOT( enableWidgets(bool) ));
// create all the widgets
gbScale = new QGroupBox( i18n("Scaling"), this );
gbScale = new TQGroupBox( i18n("Scaling"), this );
gbScale->setColumnLayout( 0, Qt::Horizontal );
cbDownScale = new QCheckBox( i18n("Shrink image to screen size, if larger"),
cbDownScale = new TQCheckBox( i18n("Shrink image to screen size, if larger"),
gbScale, "shrinktoscreen" );
cbUpScale = new QCheckBox( i18n("Scale image to screen size, if smaller, up to factor:"), gbScale, "upscale checkbox" );
cbUpScale = new TQCheckBox( i18n("Scale image to screen size, if smaller, up to factor:"), gbScale, "upscale checkbox" );
sbMaxUpScaleFactor = new KIntNumInput( gbScale, "upscale factor" );
sbMaxUpScaleFactor->setRange( 1, 100, 1, false );
connect(cbUpScale, SIGNAL( toggled(bool)), sbMaxUpScaleFactor,
SLOT( setEnabled(bool) ));
connect(cbUpScale, TQT_SIGNAL( toggled(bool)), sbMaxUpScaleFactor,
TQT_SLOT( setEnabled(bool) ));
// --
gbGeometry = new QGroupBox( i18n("Geometry"), this );
gbGeometry = new TQGroupBox( i18n("Geometry"), this );
gbGeometry->setColumnLayout( 0, Qt::Horizontal );
cbFlipVertically = new QCheckBox( i18n("Flip vertically"), gbGeometry );
cbFlipVertically = new TQCheckBox( i18n("Flip vertically"), gbGeometry );
cbFlipHorizontally = new QCheckBox( i18n("Flip horizontally"), gbGeometry );
cbFlipHorizontally = new TQCheckBox( i18n("Flip horizontally"), gbGeometry );
lbRotate = new QLabel( i18n("Rotate image:"), gbGeometry );
lbRotate = new TQLabel( i18n("Rotate image:"), gbGeometry );
comboRotate = new KComboBox( gbGeometry, "rotate combobox" );
comboRotate->insertItem( i18n("0 Degrees") );
@ -74,7 +74,7 @@ DefaultsWidget::DefaultsWidget( QWidget *parent, const char *name)
// --
gbAdjust = new QVGroupBox( i18n("Adjustments"), this );
gbAdjust = new TQVGroupBox( i18n("Adjustments"), this );
sbBrightness = new KIntNumInput( gbAdjust, "brightness spinbox" );
sbBrightness->setRange( -256, 256, 1, true );
@ -91,37 +91,37 @@ DefaultsWidget::DefaultsWidget( QWidget *parent, const char *name)
// --
gbPreview = new QGroupBox( i18n("Preview"), this );
gbPreview->setAlignment( AlignCenter );
gbPreview = new TQGroupBox( i18n("Preview"), this );
gbPreview->tqsetAlignment( AlignCenter );
lbImOrig = new QLabel( i18n("Original"), gbPreview );
lbImOrig = new TQLabel( i18n("Original"), gbPreview );
imOrig = new ImlibWidget( 0L, gbPreview, "original image" );
lbImFiltered = new QLabel( i18n("Modified"), gbPreview );
lbImFiltered = new TQLabel( i18n("Modified"), gbPreview );
imFiltered = new ImlibWidget( 0L, imOrig->getImlibData(), gbPreview, "" );
connect( imFiltered, SIGNAL( destroyed() ), SLOT( slotNoImage() ));
connect( imFiltered, TQT_SIGNAL( destroyed() ), TQT_SLOT( slotNoImage() ));
// layout management
QVBoxLayout *mainLayout = new QVBoxLayout( this, 0,
KDialog::spacingHint(), "main layout" );
// tqlayout management
TQVBoxLayout *mainLayout = new TQVBoxLayout( this, 0,
KDialog::spacingHint(), "main tqlayout" );
QVBoxLayout *gbScaleLayout = new QVBoxLayout( gbScale->layout(),
TQVBoxLayout *gbScaleLayout = new TQVBoxLayout( gbScale->tqlayout(),
QVBoxLayout *gbGeometryLayout = new QVBoxLayout(gbGeometry->layout(),
TQVBoxLayout *gbGeometryLayout = new TQVBoxLayout(gbGeometry->tqlayout(),
QGridLayout *gbPreviewLayout = new QGridLayout(gbPreview, 2, 3, 0,
TQGridLayout *gbPreviewLayout = new TQGridLayout(gbPreview, 2, 3, 0,
QHBoxLayout *scaleLayout = new QHBoxLayout();
QHBoxLayout *rotateLayout = new QHBoxLayout();
TQHBoxLayout *scaleLayout = new TQHBoxLayout();
TQHBoxLayout *rotateLayout = new TQHBoxLayout();
mainLayout->addWidget( cbEnableMods );
mainLayout->addWidget( gbScale );
QHBoxLayout *hl = new QHBoxLayout();
TQHBoxLayout *hl = new TQHBoxLayout();
hl->addWidget( gbGeometry );
hl->addWidget( gbAdjust );
mainLayout->addLayout( hl );
@ -159,19 +159,19 @@ DefaultsWidget::DefaultsWidget( QWidget *parent, const char *name)
// connect them all to the update slot
connect( cbDownScale, SIGNAL( clicked() ), SLOT( updatePreview() ));
connect( cbUpScale, SIGNAL( clicked() ), SLOT( updatePreview() ));
connect( cbFlipVertically, SIGNAL( clicked() ), SLOT( updatePreview() ));
connect( cbFlipHorizontally, SIGNAL( clicked() ), SLOT( updatePreview() ));
connect( sbMaxUpScaleFactor, SIGNAL( valueChanged(int) ), SLOT( updatePreview() ));
connect( sbBrightness, SIGNAL( valueChanged(int) ), SLOT( updatePreview() ));
connect( sbContrast, SIGNAL( valueChanged(int) ), SLOT( updatePreview() ));
connect( sbGamma, SIGNAL( valueChanged(int) ), SLOT( updatePreview() ));
connect( cbDownScale, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
connect( cbUpScale, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
connect( cbFlipVertically, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
connect( cbFlipHorizontally, TQT_SIGNAL( clicked() ), TQT_SLOT( updatePreview() ));
connect( sbMaxUpScaleFactor, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
connect( sbBrightness, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
connect( sbContrast, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
connect( sbGamma, TQT_SIGNAL( valueChanged(int) ), TQT_SLOT( updatePreview() ));
connect( comboRotate, SIGNAL( activated(int) ), SLOT( updatePreview() ));
connect( comboRotate, TQT_SIGNAL( activated(int) ), TQT_SLOT( updatePreview() ));
QString filename = locate( "data", "kuickshow/pics/calibrate.png" );
TQString filename = locate( "data", "kuickshow/pics/calibrate.png" );
if ( !imOrig->loadImage( filename ) )
imOrig = 0L; // FIXME - display some errormessage!
if ( !imFiltered->loadImage( filename ) )

@ -24,18 +24,19 @@
class ImlibWidget;
class ImData;
class QCheckBox;
class QLabel;
class TQCheckBox;
class TQLabel;
class KComboBox;
class KIntNumInput;
class DefaultsWidget : public QWidget
class DefaultsWidget : public TQWidget
DefaultsWidget( QWidget *parent, const char *name );
DefaultsWidget( TQWidget *tqparent, const char *name );
void loadSettings( const KuickData& data );
@ -44,22 +45,22 @@ public:
Rotation currentRotation() const;
QCheckBox *cbEnableMods;
TQCheckBox *cbEnableMods;
QGroupBox *gbScale;
QCheckBox *cbUpScale, *cbDownScale;
TQGroupBox *gbScale;
TQCheckBox *cbUpScale, *cbDownScale;
KIntNumInput *sbMaxUpScaleFactor;
QGroupBox *gbAdjust;
TQGroupBox *gbAdjust;
KIntNumInput *sbBrightness, *sbContrast, *sbGamma;
QGroupBox *gbGeometry;
QLabel *lbRotate;
TQGroupBox *gbGeometry;
TQLabel *lbRotate;
KComboBox *comboRotate;
QCheckBox *cbFlipVertically, *cbFlipHorizontally;
TQCheckBox *cbFlipVertically, *cbFlipHorizontally;
QGroupBox *gbPreview;
QLabel *lbImOrig, *lbImFiltered;
TQGroupBox *gbPreview;
TQLabel *lbImOrig, *lbImFiltered;
ImlibWidget *imOrig, *imFiltered;

@ -1,6 +1,6 @@
#include <unistd.h>
#include <qstring.h>
#include <tqstring.h>
#include <kdebug.h>
#include <kstandarddirs.h>
@ -41,8 +41,8 @@ FileCache * FileCache::self()
KuickFile * FileCache::getFile( const KURL& url )
QString urlString = url.prettyURL();
KuickFile *file = m_files.find( urlString );
TQString urlString = url.prettyURL();
KuickFile *file = m_files.tqfind( urlString );
if ( !file ) {
file = new KuickFile( url );
m_files.insert( urlString, file );
@ -51,14 +51,14 @@ KuickFile * FileCache::getFile( const KURL& url )
return file;
QString FileCache::tempDir()
TQString FileCache::tempDir()
if ( !m_tempDir ) {
m_tempDir = createTempDir();
if ( !m_tempDir ) {
kdWarning() << "Unable to create temporary directory for KuickShow" << endl;
return QString::null;
return TQString();
@ -68,9 +68,9 @@ QString FileCache::tempDir()
KTempDir * FileCache::createTempDir()
QString tmpName = QString::fromLatin1( KGlobal::instance()->instanceName() );
tmpName.append( QString::number( getpid() ) );
QString dirName = locateLocal( "tmp", tmpName );
TQString tmpName = TQString::tqfromLatin1( KGlobal::instance()->instanceName() );
tmpName.append( TQString::number( getpid() ) );
TQString dirName = locateLocal( "tmp", tmpName );
KTempDir *dir = new KTempDir( dirName );
dir->setAutoDelete( true );
if ( dir->status() != 0L )

@ -10,7 +10,7 @@
#include <qcache.h>
#include <tqcache.h>
#include "kuickfile.h"
@ -27,9 +27,9 @@ public:
int getLimit() const { return m_limit; }
* @return the temporary directory or QString::null if none available
* @return the temporary directory or TQString() if none available
QString tempDir();
TQString tempDir();
static FileCache *s_self;
@ -37,7 +37,7 @@ private:
KTempDir * createTempDir();
QCache<KuickFile> m_files;
TQCache<KuickFile> m_files;
int m_limit;
KTempDir *m_tempDir;

@ -16,7 +16,7 @@
Boston, MA 02110-1301, USA.
#include <qkeycode.h>
#include <tqkeycode.h>
#include <kapplication.h>
#include <kconfig.h>
@ -26,8 +26,8 @@
#include "filefinder.h"
FileFinder::FileFinder( QWidget *parent, const char *name )
: KLineEdit( parent, name )
FileFinder::FileFinder( TQWidget *tqparent, const char *name )
: KLineEdit( tqparent, name )
// make this widget just as large, as the font is + 8 Pixels
int height = fontMetrics().height() + 8;
@ -38,19 +38,19 @@ FileFinder::FileFinder( QWidget *parent, const char *name )
#if KDE_VERSION >= 220
completionBox()->setTabHandling( true );
connect( completionBox(), SIGNAL( userCancelled(const QString&) ),
SLOT( hide() ));
connect( completionBox(), SIGNAL( activated( const QString& ) ),
SLOT( slotAccept( const QString& )));
connect( this, SIGNAL( returnPressed( const QString& )),
SLOT( slotAccept( const QString& ) ));
connect( completionBox(), TQT_SIGNAL( userCancelled(const TQString&) ),
TQT_SLOT( hide() ));
connect( completionBox(), TQT_SIGNAL( activated( const TQString& ) ),
TQT_SLOT( slotAccept( const TQString& )));
connect( this, TQT_SIGNAL( returnPressed( const TQString& )),
TQT_SLOT( slotAccept( const TQString& ) ));
KURLCompletion *comp = new KURLCompletion();
comp->setReplaceHome( true );
comp->setReplaceEnv( true );
setCompletionObject( comp, false );
setAutoDeleteCompletionObject( true );
setFocusPolicy( ClickFocus );
setFocusPolicy( TQ_ClickFocus );
KConfig *config = KGlobal::config();
KConfigGroupSaver cs( config, "GeneralConfiguration" );
@ -66,13 +66,13 @@ FileFinder::~FileFinder()
config->writeEntry( "FileFinderCompletionMode", completionMode() );
void FileFinder::focusOutEvent( QFocusEvent *e )
void FileFinder::focusOutEvent( TQFocusEvent *e )
if ( e->reason() != QFocusEvent::Popup )
if ( e->reason() != TQFocusEvent::Popup )
void FileFinder::keyPressEvent( QKeyEvent *e )