~ubuntu-branches/ubuntu/raring/skanlite/raring

« back to all changes in this revision

Viewing changes to src/skanlite.h

  • Committer: Package Import Robot
  • Author(s): Scott Kitterman
  • Date: 2012-11-26 11:54:47 UTC
  • mfrom: (1.1.15)
  • Revision ID: package-import@ubuntu.com-20121126115447-ga62i8t4bu1ona4i
Tags: 0.9-0ubuntu1
* New upstream release (LP: #1083166)
  - Update debian/copyright

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/* ============================================================
2
2
 *
3
 
 * Copyright (C) 2007-2008 by Kare Sars <kare dot sars at iki dot fi>
 
3
 * Copyright (C) 2007-2012 by Kåre Särs <kare.sars@iki .fi>
4
4
 *
5
5
 * This program is free software; you can redistribute it and/or
6
6
 * modify it under the terms of the GNU General Public License as
20
20
 *
21
21
 * ============================================================ */
22
22
 
23
 
#ifndef SKANLITE_H
24
 
#define SKANLITE_H
 
23
#ifndef Skanlite_h
 
24
#define Skanlite_h
25
25
 
26
26
#include <libksane/ksane.h>
27
27
#include <QDir>
42
42
        explicit Skanlite(const QString& device, QWidget *parent = 0);
43
43
 
44
44
    private:
 
45
        // Order of items in save mode combo-box
 
46
        enum SaveMode {
 
47
            SaveModeManual = 0,
 
48
            SaveModeAskFirst = 1,
 
49
        };
 
50
 
45
51
        void readSettings();
46
52
        void doSaveImage(bool askFilename = true);
47
53
        void loadScannerOptions();
61
67
 
62
68
        void alertUser(int type, const QString &strStatus);
63
69
        void buttonPressed(const QString &optionName, const QString &optionLabel, bool pressed);
64
 
        
 
70
 
65
71
    protected:
66
72
        void closeEvent(QCloseEvent *event);
67
73