4 * @author Olavi Pulkkinen <olavi.pulkkinena@fudeco.com>
5 * @author Toni Jussila <toni.jussila@fudeco.com>
6 * @copyright (c) 2010 Speed Freak team
7 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
10 #ifndef TOPRESULTDIALOG_H
11 #define TOPRESULTDIALOG_H
16 class TopResultDialog;
19 class TopResultDialog : public QDialog {
22 TopResultDialog(QWidget *parent = 0);
24 void setCompoBoxCategories(QStringList list);
25 void showTopList(QString str);
26 int getRecentCategoryIndex();
28 void setLimitNr(int number);
29 void setLabelInfoToUser(QString infoText);
32 void changeEvent(QEvent *e);
35 void refreshCategoryList();
36 void refreshTopList(int index);
39 Ui::TopResultDialog *ui;
40 int recentCategoryIndex;
44 void on_comboBoxTopCategory_currentIndexChanged(int index);
45 void on_buttonTopRefresh_clicked();
49 #endif // TOPRESULTDIALOG_H