summaryrefslogtreecommitdiffstats
path: root/examples/rot13/rot13.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/rot13/rot13.h')
-rw-r--r--examples/rot13/rot13.h36
1 files changed, 36 insertions, 0 deletions
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 <qwidget.h>
+
+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