2 * This file is a part of QComicBook.
4 * Copyright (C) 2005-2006 Pawel Stolowski <yogin@linux.bydg.org>
6 * QComicBook is free software; you can redestribute it and/or modify it
7 * under terms of GNU General Public License by Free Software Foundation.
9 * This program is distributed in the hope that it will be useful, but
10 * WITHOUT ANY WARRANTY. See GPL for more details.
13 #ifndef __PAGENUMBEREDIT_H
14 #define __PAGENUMBEREDIT_H
16 #include <qlineedit.h>
22 class PageNumberEdit: public QLineEdit
27 QIntValidator *validator;
34 void pageSelected(int n);
37 PageNumberEdit(QWidget *parent, int val=1, int max=99);
38 virtual ~PageNumberEdit();
40 int pageNumber() const;