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
14 #include <helpresultsdialog.h>
17 class TopResultDialog;
20 class TopResultDialog : public QDialog {
23 TopResultDialog(QWidget *parent = 0);
25 HelpResultsDialog *helpResultsDialog;
26 void setCompoBoxCategories(QStringList list);
27 void showTopList(QString str);
28 int getRecentCategoryIndex();
30 void setLimitNr(int number);
31 void setLabelInfoToUser(QString infoText);
34 void changeEvent(QEvent *e);
37 void refreshCategoryList();
38 void refreshTopList(int index);
41 Ui::TopResultDialog *ui;
42 int recentCategoryIndex;
46 void on_pushButtonInfo_clicked();
47 void on_comboBoxTopCategory_currentIndexChanged(int index);
48 void on_buttonTopRefresh_clicked();
49 void killHelpDialog();
52 #endif // TOPRESULTDIALOG_H