summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-reader/cbkmkselector.h
Unidiff
Diffstat (limited to 'noncore/apps/opie-reader/cbkmkselector.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/apps/opie-reader/cbkmkselector.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/cbkmkselector.h b/noncore/apps/opie-reader/cbkmkselector.h
index 1a70048..42951e5 100644
--- a/noncore/apps/opie-reader/cbkmkselector.h
+++ b/noncore/apps/opie-reader/cbkmkselector.h
@@ -22,22 +22,22 @@ public:
22 CBkmkSelector( QWidget *parent=0, const char *name=0, WFlags f = 0) : 22 CBkmkSelector( QWidget *parent=0, const char *name=0, WFlags f = 0) :
23 QWidget(parent, name, f) 23 QWidget(parent, name, f)
24 { 24 {
25 25
26// QFont f("unifont", 16); 26// QFont f("unifont", 16);
27// setFont( f ); 27// setFont( f );
28 28
29 QVBoxLayout* grid = new QVBoxLayout(this); 29 QVBoxLayout* grid = new QVBoxLayout(this);
30 bkmkselector = new QListBox(this, "Bookmarks"); 30 bkmkselector = new QListBox(this, "Bookmarks");
31 exitButton = new QPushButton("Cancel", this); 31 exitButton = new QPushButton("Cancel", this);
32 connect(bkmkselector, SIGNAL( selected(int) ), this, SLOT( slotSelected(int) ) ); 32 connect(bkmkselector, SIGNAL( selected(int) ), this, SLOT( slotSelected(int) ) );
33 connect(bkmkselector, SIGNAL( clicked(QListBoxItem*) ), this, SLOT( slotSelected(QListBoxItem*) ) ); 33 connect(bkmkselector, SIGNAL( clicked(QListBoxItem*) ), this, SLOT( slotSelected(QListBoxItem*) ) );
34 connect(exitButton, SIGNAL( released() ), this, SLOT( slotCancel() ) ); 34 connect(exitButton, SIGNAL( clicked() ), this, SLOT( slotCancel() ) );
35 grid->addWidget(bkmkselector,1); 35 grid->addWidget(bkmkselector,1);
36 grid->addWidget(exitButton); 36 grid->addWidget(exitButton);
37 } 37 }
38 void clear() { bkmkselector->clear(); } 38 void clear() { bkmkselector->clear(); }
39 void insertItem(const QString& item) { bkmkselector->insertItem(item); } 39 void insertItem(const QString& item) { bkmkselector->insertItem(item); }
40 QString text(int index) const { return bkmkselector->text(index); } 40 QString text(int index) const { return bkmkselector->text(index); }
41 void setText(const QString& _l) { exitButton->setText(_l); } 41 void setText(const QString& _l) { exitButton->setText(_l); }
42}; 42};
43 43