summaryrefslogtreecommitdiff
path: root/noncore/tools/remote/buttondialog.h
authorpaule <paule>2007-01-28 06:41:22 (UTC)
committer paule <paule>2007-01-28 06:41:22 (UTC)
commitb17ca0982b26c0f18ccd3113906206f8fb49df2a (patch) (unidiff)
treec6e98cc4bdab06ed9b1c198badc185abbfe58088 /noncore/tools/remote/buttondialog.h
parentec2309cb69365847762db542c41951629cd06cbe (diff)
downloadopie-b17ca0982b26c0f18ccd3113906206f8fb49df2a.zip
opie-b17ca0982b26c0f18ccd3113906206f8fb49df2a.tar.gz
opie-b17ca0982b26c0f18ccd3113906206f8fb49df2a.tar.bz2
Load in current button action on opening
Diffstat (limited to 'noncore/tools/remote/buttondialog.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/remote/buttondialog.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/noncore/tools/remote/buttondialog.h b/noncore/tools/remote/buttondialog.h
index cc697b5..f66903f 100644
--- a/noncore/tools/remote/buttondialog.h
+++ b/noncore/tools/remote/buttondialog.h
@@ -37,17 +37,15 @@ class ButtonDialog : public QDialog
37{ 37{
38 Q_OBJECT 38 Q_OBJECT
39public: 39public:
40 ButtonDialog(QString buttonName, QWidget *parent=0, const char*name=0, bool modal=FALSE, WFlags f=0); 40 ButtonDialog(QString buttonName, QString action, QWidget *parent=0, const char*name=0, bool modal=FALSE, WFlags f=0);
41 ~ButtonDialog(); 41 ~ButtonDialog();
42 QStringList getList(); 42 QString getAction();
43 QString getLabel(); 43 QString getLabel();
44public slots: 44public slots:
45 void remoteSelected(const QString &string); 45 void remoteSelected(const QString &string);
46 void buttonSelected(const QString &string);
47private: 46private:
48 QComboBox *remote; 47 QComboBox *remote;
49 QComboBox *button; 48 QComboBox *button;
50 QStringList list;
51 QLineEdit *label; 49 QLineEdit *label;
52 LircHandler *lh; 50 LircHandler *lh;
53}; 51};