<p>Disclosed herein are KCNQ potassium channels modulators of formula (I) wherein ring Z1, R1, p, R3, and R4 are as defined in the specification. Compositions comprising such compounds; and methods for treating conditions and disorders using such compounds and compositions are also described.</p>