~ubuntu-branches/ubuntu/gutsy/kde4libs/gutsy

« back to all changes in this revision

Viewing changes to kdeprint/management/cjanuswidget.h

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Riddell
  • Date: 2007-02-21 11:00:12 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070221110012-6kw8khr9knv6lmg1
Tags: 3.80.3-0ubuntu1
New upstream unstable release

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
 
27
27
class QStackedWidget;
28
28
class QLabel;
29
 
class Q3ListBoxItem;
 
29
class QListWidgetItem;
30
30
 
31
31
class CJanusWidget : public QWidget
32
32
{
33
33
        Q_OBJECT
34
34
public:
35
 
        CJanusWidget(QWidget *parent);
 
35
        explicit CJanusWidget(QWidget *parent);
36
36
        ~CJanusWidget();
37
37
 
38
38
        void addPage(QWidget *w, const QString& text, const QString& header, const QPixmap& pix);
41
41
        void clearPages();
42
42
 
43
43
protected Q_SLOTS:
44
 
        void slotSelected(Q3ListBoxItem*);
 
44
        void slotSelected(QListWidgetItem*);
45
45
 
46
46
public:
47
47
        class CPage;
48
48
        class CListBox;
49
49
        class CListBoxItem;
 
50
    class CListBoxItemDelegate;
50
51
 
51
52
private:
52
53
        CPage* findPage(QWidget *w);
53
 
        CPage* findPage(Q3ListBoxItem *i);
54
 
        Q3ListBoxItem* findPrevItem(CPage*);
 
54
        CPage* findPage(QListWidgetItem *i);
 
55
        QListWidgetItem* findPrevItem(CPage*);
55
56
 
56
57
private:
57
58
        QList<CPage*>           m_pages;