~ubuntu-branches/ubuntu/vivid/smb4k/vivid

« back to all changes in this revision

Viewing changes to core/smb4kprint_p.h

  • Committer: Package Import Robot
  • Author(s): Mark Purcell
  • Date: 2014-06-15 16:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 33.
  • Revision ID: package-import@ubuntu.com-20140615162738-t1426an8s5beix1b
Tags: upstream-1.1.2
ImportĀ upstreamĀ versionĀ 1.1.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
    Smb4KPrint class
4
4
                             -------------------
5
5
    begin                : Fr Okt 31 2008
6
 
    copyright            : (C) 2008-2011 by Alexander Reinholdt
 
6
    copyright            : (C) 2008-2013 by Alexander Reinholdt
7
7
    email                : alexander.reinholdt@kdemail.net
8
8
 ***************************************************************************/
9
9
 
20
20
 *                                                                         *
21
21
 *   You should have received a copy of the GNU General Public License     *
22
22
 *   along with this program; if not, write to the                         *
23
 
 *   Free Software Foundation, 51 Franklin Street, Suite 500, Boston,      *
 
23
 *   Free Software Foundation, Inc., 51 Franklin Street, Suite 500, Boston,*
24
24
 *   MA 02110-1335, USA                                                    *
25
25
 ***************************************************************************/
26
26
 
27
27
#ifndef SMB4KPRINT_P_H
28
28
#define SMB4KPRINT_P_H
29
29
 
30
 
#ifdef HAVE_CONFIG_H
31
 
#include <config.h>
32
 
#endif
 
30
// application specific includes
 
31
#include "smb4kprint.h"
 
32
#include "smb4kprocess.h"
33
33
 
34
34
// Qt includes
35
 
#include <QPrinter>
 
35
#include <QtGui/QPrinter>
36
36
 
37
37
// KDE includes
38
38
#include <kdialog.h>
42
42
#include <kjob.h>
43
43
#include <ktempdir.h>
44
44
 
45
 
// application specific includes
46
 
#include <smb4kprint.h>
47
 
#include <smb4kprocess.h>
48
 
 
49
45
// forward declarations
50
46
class Smb4KAuthInfo;
51
47
class Smb4KShare;
59
55
    /**
60
56
     * The constructor
61
57
     */
62
 
    Smb4KPrintJob( QObject *parent = 0 );
 
58
    explicit Smb4KPrintJob( QObject *parent = 0 );
63
59
    
64
60
    /**
65
61
     * The destructor
105
101
     */
106
102
    QWidget *parentWidget() { return m_parent_widget; }
107
103
    
108
 
  signals:
 
104
  Q_SIGNALS:
109
105
    /**
110
106
     * Emitted when an authentication error happened.
111
107
     */
128
124
     */
129
125
    bool doKill();
130
126
    
131
 
  protected slots:
 
127
  protected Q_SLOTS:
132
128
    void slotStartPrinting();
133
129
    void slotReadStandardOutput();
134
130
    void slotReadStandardError();
178
174
     */
179
175
    QPrinter *printer() { return m_printer; }
180
176
    
181
 
  protected slots:
 
177
  protected Q_SLOTS:
182
178
    /**
183
179
     * This slot is called when the User1 (i.e. the "Close") button
184
180
     * has been clicked.
225
221
};
226
222
 
227
223
 
228
 
class Smb4KPrintPrivate
 
224
class Smb4KPrintStatic
229
225
{
230
226
  public:
231
 
    Smb4KPrintPrivate();
232
 
    ~Smb4KPrintPrivate();
233
227
    Smb4KPrint instance;
234
228
};
235
229