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 000000000..dc207c87e
--- /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 TQt. This example
+** program may be used, distributed and modified without limitation.
+**
+*****************************************************************************/
+
+#ifndef ROT13_H
+#define ROT13_H
+
+#include <qwidget.h>
+
+class TQMultiLineEdit;
+
+class Rot13: public TQWidget {
+ Q_OBJECT
+public:
+ Rot13();
+
+ TQString rot13( const TQString & ) const;
+
+private slots:
+ void changeLeft();
+ void changeRight();
+
+private:
+ TQMultiLineEdit * left, * right;
+};
+
+#endif