~ubuntu-branches/ubuntu/saucy/print-manager/saucy-proposed

« back to all changes in this revision

Viewing changes to add-printer/ChooseSerial.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2012-08-21 12:30:49 UTC
  • mto: (1.3.2)
  • mto: This revision was merged to the branch mainline in revision 3.
  • Revision ID: package-import@ubuntu.com-20120821123049-c8uky0a9gmfkck87
Tags: upstream-0.1.0+git20120821
ImportĀ upstreamĀ versionĀ 0.1.0+git20120821

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/***************************************************************************
2
2
 *   Copyright (C) 2010 by Daniel Nicoletti                                *
3
 
 *   dantti85-pk@yahoo.com.br                                              *
 
3
 *   dantti12@gmail.com                                                    *
4
4
 *                                                                         *
5
5
 *   This program is free software; you can redistribute it and/or modify  *
6
6
 *   it under the terms of the GNU General Public License as published by  *
36
36
 
37
37
    // setup default options
38
38
    setWindowTitle(i18nc("@title:window", "Select a Printer to Add"));
39
 
    // loads the standard key icon
40
 
//    QPixmap pixmap;
41
 
//    pixmap = KIconLoader::global()->loadIcon("printer",
42
 
//                                             KIconLoader::NoGroup,
43
 
//                                             KIconLoader::SizeEnormous, // a not so huge icon
44
 
//                                             KIconLoader::DefaultState);
45
 
//    QPixmap icon(pixmap);
46
 
//    QPainter painter(&icon);
47
 
 
48
 
//    pixmap = KIconLoader::global()->loadIcon("preferences-other",
49
 
//                                             KIconLoader::NoGroup,
50
 
//                                             KIconLoader::SizeLarge, // a not so huge icon
51
 
//                                             KIconLoader::DefaultState);
52
 
//    // the the emblem icon to size 32
53
 
//    int overlaySize = KIconLoader::SizeLarge;
54
 
//    QPoint startPoint;
55
 
//    // bottom right corner
56
 
//    startPoint = QPoint(KIconLoader::SizeEnormous - overlaySize - 2,
57
 
//                        KIconLoader::SizeEnormous - overlaySize - 2);
58
 
//    painter.drawPixmap(startPoint, pixmap);
59
 
//    ui->printerL->setPixmap(icon);
60
39
 
61
40
    ui->parityCB->addItem(i18nc("@label:listbox", "None"), "none");
62
41
    ui->parityCB->addItem(i18nc("@label:listbox", "Even"), "even");