Skip to main content ::
::
KDE PIM API Reference
::
Skip to Link Menu
/
API Reference
/
kaddressbook
kaddressbook
kaddressbook
printing
printprogress.h
1
/*
2
This file is part of KAddressBook.
3
Copyright (c) 1996-2002 Mirko Boehm <mirko@kde.org>
4
5
This program is free software; you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation; either version 2 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
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
17
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18
19
As a special exception, permission is given to link this program
20
with any edition of TQt, and distribute the resulting executable,
21
without including the source code for TQt in the source distribution.
22
*/
23
24
#ifndef PRINTPROGRESS_H
25
#define PRINTPROGRESS_H
26
27
#include <tqwidget.h>
28
29
class
TQProgressBar;
30
class
TQString;
31
class
TQTextBrowser;
32
33
namespace
KABPrinting {
34
40
class
PrintProgress
:
public
TQWidget
41
{
42
TQ_OBJECT
43
44
45
public
:
46
PrintProgress
( TQWidget *parent,
const
char
*name = 0 );
47
~
PrintProgress
();
48
52
void
addMessage
(
const
TQString& );
53
57
void
setProgress
(
int
);
58
59
private
:
60
TQStringList mMessages;
61
62
TQTextBrowser* mLogBrowser;
63
TQProgressBar* mProgressBar;
64
};
65
66
}
67
68
#endif
KABPrinting::PrintProgress
This defines a simple widget to display print progress information.
Definition:
printprogress.h:41
KABPrinting::PrintProgress::addMessage
void addMessage(const TQString &)
Add a message to the message log.
Definition:
printprogress.cpp:59
KABPrinting::PrintProgress::setProgress
void setProgress(int)
Set the progress to a certain amount.
Definition:
printprogress.cpp:77
kaddressbook
Skip menu "kaddressbook"
Main Page
Class Hierarchy
Alphabetical List
Class List
File List
Class Members
Related Pages
kaddressbook
Skip menu "kaddressbook"
akregator
src
librss
certmanager
lib
kaddressbook
kalarm
lib
kandy
karm
kdgantt
kgantt
kmail
knotes
konsolekalendar
kontact
korganizer
libemailfunctions
libkcal
libkholidays
libkmime
libkpgp
libkpimidentities
libtdepim
tdeioslave
imap4
mbox