diff src/hgignoredialog.h @ 416:8df07172d6da ignore

Return ignore type from ignore dialog
author Chris Cannam
date Thu, 16 Jun 2011 14:53:06 +0100
parents 6d7dad48b13c
children 69b2338c06e1
line wrap: on
line diff
--- a/src/hgignoredialog.h	Thu Jun 16 14:32:35 2011 +0100
+++ b/src/hgignoredialog.h	Thu Jun 16 14:53:06 2011 +0100
@@ -35,6 +35,9 @@
     static IgnoreType confirmIgnore(QWidget *parent,
 				    QStringList files, QStringList suffixes);
 
+private slots:
+    void optionToggled(bool);
+
 private:
     HgIgnoreDialog(QWidget *parent,
 		   QString title,
@@ -43,7 +46,9 @@
 		   QStringList options,
 		   QString okButtonText);
 
-    
+    QString getOption() const { return m_option; }
+
+    QString m_option;
 };
 
 #endif