tests/qtp/qtp_masterdetail/mainwindow.h
changeset 3 41300fa6a67c
parent 0 1918ee327afb
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
    62 
    62 
    63 public:
    63 public:
    64     MainWindow(const QString &artistTable, const QString &albumTable,
    64     MainWindow(const QString &artistTable, const QString &albumTable,
    65                QFile *albumDetails, QWidget *parent = 0);
    65                QFile *albumDetails, QWidget *parent = 0);
    66 
    66 
       
    67     // for autotest set
       
    68     QTableView *getAlbumView() { return albumView; };
       
    69     QComboBox *getArtistView() { return artistView; };
       
    70     QListWidget *getTrackList() { return trackList; };
       
    71     QSqlRelationalTableModel *getModel() { return model; } ;
       
    72     
    67 private slots:
    73 private slots:
    68     void about();
    74     void about();
    69     void addAlbum();
    75     void addAlbum();
    70     void changeArtist(int row);
    76     void changeArtist(int row);
    71     void deleteAlbum();
    77     void deleteAlbum();