]> sigrok.org Git - pulseview.git/blobdiff - signalhandler.hpp
Tests: Add another unit test for Segment class
[pulseview.git] / signalhandler.hpp
index fe54ff2a182c66a7219e5d31c3fec6c0519e8a42..a81f186c8493ec61afce9833023550e4c85fec18 100644 (file)
  * GNU General Public License for more details.
  *
  * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+ * along with this program; if not, see <http://www.gnu.org/licenses/>.
  */
 
-#ifndef SIGNALHANDLER_H
-#define SIGNALHANDLER_H
+#ifndef SIGNALHANDLER_HPP
+#define SIGNALHANDLER_HPP
 
 #include <QObject>
 
@@ -33,7 +32,7 @@ public:
        static bool prepare_signals();
 
 public:
-       explicit SignalHandler(QObject* parent = NULL);
+       explicit SignalHandler(QObject* parent = nullptr);
 
 Q_SIGNALS:
        void int_received();
@@ -52,4 +51,4 @@ private:
        static int sockets_[2];
 };
 
-#endif // SIGNALHANDLER_H
+#endif // SIGNALHANDLER_HPP