~ubuntu-branches/ubuntu/saucy/kgrubeditor/saucy

« back to all changes in this revision

Viewing changes to src/map.h

  • Committer: Bazaar Package Importer
  • Author(s): Steve Stalcup
  • Date: 2008-08-02 08:47:56 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080802084756-4doy9cyfc63kzaic
Tags: 0.7-0ubuntu1
* New upstream release
* bumped standards version to 3.8.0 (no change)
* Updated debian/cdbs for intrepid paths

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
Q_OBJECT
47
47
public:
48
48
        /**
49
 
        * Constructor. Populates the KAssistantDialog, shows the map and
50
 
        * connects the signals to their slots.
 
49
        * Sets up the GUI and shows the password.
51
50
        *
52
 
        * @param map The GRUB Map to edit.
 
51
        * @param map The GRUB Map to create/edit.
 
52
        * @param devices A list of the devices detected.
53
53
        * @param parent QWidget parent. Self explanatory.
54
54
        */
55
 
        MapAssistant( GRUB::ComplexCommand::Map *map, QWidget *parent = 0 );
 
55
        MapAssistant( GRUB::ComplexCommand::Map *map, const QVector<GRUB::Misc::Device> &devices, QWidget *parent = 0 );
 
56
        /**
 
57
        * Desctructor.
 
58
        */
 
59
        ~MapAssistant();
 
60
private:
 
61
        /**
 
62
        * Connects all signals to their slots.
 
63
        */
 
64
        void setupConnections();
56
65
private:
57
66
        /**
58
67
        * Checks if a device already exists in the combo box of devices.
62
71
        *
63
72
        * @return whether the device already exists in the combobox or not.
64
73
        */
65
 
        bool alreadyExists( const QString device );
 
74
        bool alreadyExists( const QString &device );
66
75
private slots:
67
76
        /**
68
77
        * Before accessing the last page, it collects all data