Diffstat (limited to 'noncore/apps/dagger/configuredlg.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/dagger/configuredlg.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/dagger/configuredlg.h b/noncore/apps/dagger/configuredlg.h index a91da12..56a4d94 100644 --- a/noncore/apps/dagger/configuredlg.h +++ b/noncore/apps/dagger/configuredlg.h @@ -25,51 +25,52 @@ file; see the file COPYING. If not, write to the Free Software Foundation, Inc., #include <qdialog.h> #include <qlineedit.h> #include <qradiobutton.h> #include <qspinbox.h> class QLabel; class ConfigureDlg : public QDialog { Q_OBJECT public: ConfigureDlg( QWidget *parent = 0x0, const QString &swordPath = 0x0, bool alwaysOpenNew = true, int numVerses = 5, bool disableBlanking = false, int copyFormat = 0, const QFont *font = 0x0 ); QString swordPath() { return m_swordPath->text(); } bool alwaysOpenNew() { return m_alwaysOpenNew->isChecked(); } int numVerses() { return m_numVerses->value(); } bool screenBlank() { return m_disableScreenBlank->isChecked(); } int copyFormat() { if ( m_copyFull->isChecked() ) return 1; else if ( m_copyVerse->isChecked() ) return 2; else if ( m_copyKey->isChecked() ) return 3; else return 0; } QFont selectedFont() { return m_font->selectedFont(); } private: Opie::Ui::OTabWidget m_tabs; // Main widget Opie::Ui::OFontSelector *m_font; // Font selection widget // General tab's UI controls QLineEdit *m_swordPath; // Contains path to Sword modules QCheckBox *m_alwaysOpenNew; // Indicates whether to always open modules in a new tab QSpinBox *m_numVerses; // Contains number of verses to display for Bible modules QCheckBox *m_disableScreenBlank; // Indicates whether to disable automatic screen blanking // Copy tab's UI controls QRadioButton *m_copyTextFull; // Verse (Text, Book cc:vv) QRadioButton *m_copyFull; // Verse (Book cc:vv) QRadioButton *m_copyVerse; // Verse QRadioButton *m_copyKey; // Book cc:vv QLabel *m_copyExample; // Text of copy format example private slots: void slotCopyFormatSelected(); + void slotSelectSwordPath(); }; #endif |