From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- examples/rot13/rot13.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 examples/rot13/rot13.h (limited to 'examples/rot13/rot13.h') diff --git a/examples/rot13/rot13.h b/examples/rot13/rot13.h new file mode 100644 index 0000000..7cb7d88 --- /dev/null +++ b/examples/rot13/rot13.h @@ -0,0 +1,36 @@ +/**************************************************************************** +** +** Definition of something or other +** +** Created : 979899 +** +** Copyright (C) 1997-2008 Trolltech ASA. All rights reserved. +** +** This file is part of an example program for Qt. This example +** program may be used, distributed and modified without limitation. +** +*****************************************************************************/ + +#ifndef ROT13_H +#define ROT13_H + +#include + +class QMultiLineEdit; + +class Rot13: public QWidget { + Q_OBJECT +public: + Rot13(); + + QString rot13( const QString & ) const; + +private slots: + void changeLeft(); + void changeRight(); + +private: + QMultiLineEdit * left, * right; +}; + +#endif -- cgit v1.2.3