~ubuntu-branches/ubuntu/trusty/manaplus/trusty

« back to all changes in this revision

Viewing changes to src/gui/botcheckerwindow.cpp

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi
  • Date: 2013-10-07 10:26:14 UTC
  • mfrom: (1.1.11)
  • Revision ID: package-import@ubuntu.com-20131007102614-tg2zjdz8vmtl6n7i
Tags: 1.3.9.29-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
66
66
 
67
67
    A_DELETE_COPY(UsersTableModel)
68
68
 
69
 
    virtual ~UsersTableModel()
 
69
    ~UsersTableModel()
70
70
    {
71
71
        freeWidgets();
72
72
    }
73
73
 
74
 
    virtual int getRows() const
 
74
    int getRows() const
75
75
    {
76
76
        return static_cast<int>(mPlayers.size());
77
77
    }
78
78
 
79
 
    virtual int getColumns() const
 
79
    int getColumns() const
80
80
    {
81
81
        return COLUMNS_NR;
82
82
    }
83
83
 
84
 
    virtual int getRowHeight() const
 
84
    int getRowHeight() const
85
85
    {
86
86
        return ROW_HEIGHT;
87
87
    }
88
88
 
89
 
    virtual int getColumnWidth(const int index) const
 
89
    int getColumnWidth(const int index) const
90
90
    {
91
91
        if (index == NAME_COLUMN)
92
92
            return NAME_COLUMN_WIDTH;
231
231
        signalAfterUpdate();
232
232
    }
233
233
 
234
 
    virtual void updateModelInRow(int row A_UNUSED)
 
234
    void updateModelInRow(const int row A_UNUSED) const
235
235
    {
236
236
    }
237
237
 
238
 
    virtual gcn::Widget *getElementAt(const int row, const int column) const
 
238
    gcn::Widget *getElementAt(const int row, const int column) const
239
239
    {
240
240
        return mWidgets[WIDGET_AT(row, column)];
241
241
    }