summaryrefslogtreecommitdiffstats
path: root/sip/tdeui/keditcl.sip
diff options
context:
space:
mode:
Diffstat (limited to 'sip/tdeui/keditcl.sip')
-rw-r--r--sip/tdeui/keditcl.sip224
1 files changed, 224 insertions, 0 deletions
diff --git a/sip/tdeui/keditcl.sip b/sip/tdeui/keditcl.sip
new file mode 100644
index 0000000..89674c3
--- /dev/null
+++ b/sip/tdeui/keditcl.sip
@@ -0,0 +1,224 @@
+//
+// Copyright 2006 Jim Bublitz <jbublitz@nwinternet.com>
+// Earlier copyrights 1998 - 2005 Jim Bublitz and/or Phil Thompson
+// may also apply
+
+
+// Generated by preSip
+// module tdeui version KDE 3.5.3
+
+
+// This software is free software; you can redistribute it and/or
+// modify it under the terms of the GNU General Public License as
+// published by the Free Software Foundation; either version 2 of
+// the License, or (at your option) any later version.
+//
+// This software is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+//
+// You should have received a copy of the GNU General Public
+// License along with this library; see the file COPYING.
+// If not, write to the Free Software Foundation, Inc.,
+// 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+
+class KEdGotoLine : KDialogBase
+{
+%TypeHeaderCode
+#include <keditcl.h>
+%End
+
+
+public:
+ KEdGotoLine (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ int getLineNumber ();
+
+public slots:
+ void selected (int);
+
+protected:
+//igx virtual void virtual_hook (int, void*);
+
+}; // class KEdGotoLine
+
+
+class KEdFind : KDialogBase
+{
+%TypeHeaderCode
+#include <keditcl.h>
+%End
+
+
+public:
+ KEdFind (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ QString getText () const;
+ void setText (QString);
+ void setCaseSensitive (bool);
+ bool case_sensitive () const;
+ void setDirection (bool);
+ bool get_direction () const;
+ KHistoryCombo* searchCombo () const;
+
+protected slots:
+ void slotCancel ();
+ void slotUser1 ();
+ void textSearchChanged (const QString&);
+
+protected:
+
+signals:
+ void search ();
+ void done ();
+
+protected:
+//igx virtual void virtual_hook (int, void*);
+//force
+
+private:
+ virtual void done (int);
+//end
+
+}; // class KEdFind
+
+
+class KEdReplace : KDialogBase
+{
+%TypeHeaderCode
+#include <keditcl.h>
+%End
+
+
+public:
+ KEdReplace (QWidget* /TransferThis/ = 0, const char* = 0, bool = 1);
+ QString getText ();
+ QString getReplaceText ();
+ void setText (QString);
+ KHistoryCombo* searchCombo () const;
+ KHistoryCombo* replaceCombo () const;
+ bool case_sensitive ();
+ bool get_direction ();
+
+protected slots:
+ void slotCancel ();
+ void slotClose ();
+ void slotUser1 ();
+ void slotUser2 ();
+ void slotUser3 ();
+ void textSearchChanged (const QString&);
+
+signals:
+ void replace ();
+ void find ();
+ void replaceAll ();
+ void done ();
+
+protected:
+//igx virtual void virtual_hook (int, void*);
+//force
+
+private:
+ virtual void done (int);
+//end
+
+}; // class KEdReplace
+
+
+class KEdit : QMultiLineEdit
+{
+%TypeHeaderCode
+#include <keditcl.h>
+%End
+
+
+public:
+ KEdit (QWidget* /TransferThis/ = 0, const char* = 0);
+
+ enum
+ {
+ NONE,
+ FORWARD,
+ BACKWARD
+ };
+
+ void insertText (QTextStream*);
+
+%If ( KDE_3_1_0 - )
+ void saveText (QTextStream*, bool);
+%End
+
+ void saveText (QTextStream*);
+ void selectFont ();
+ void search ();
+ bool repeatSearch ();
+ void replace ();
+ void doGotoLine ();
+ void cleanWhiteSpace ();
+ void installRBPopup (QPopupMenu*);
+ int currentLine ();
+ int currentColumn ();
+ void spellcheck_start ();
+ void spellcheck_stop ();
+ void setOverwriteEnabled (bool);
+
+%If ( KDE_3_2_0 - )
+ QString selectWordUnderCursor ();
+
+%If ( KDE_3_2_3 - )
+ QPopupMenu* createPopupMenu (const QPoint&);
+
+%If ( KDE_3_3_0 - )
+ void setAutoUpdate (bool);
+%End
+
+%End
+
+%End
+
+
+signals:
+ void gotUrlDrop (QDropEvent*);
+ void CursorPositionChanged ();
+ void toggle_overwrite_signal ();
+
+public slots:
+
+%If ( KDE_3_2_0 - )
+ void corrected (const QString&, const QString&, uint);
+ void misspelling (const QString&, const QStringList&, uint);
+%End
+
+
+protected:
+ void computePosition ();
+ int doSearch (QString, bool, bool, bool, int, int);
+ int doReplace (QString, bool, bool, bool, int, int, bool);
+ void posToRowCol (uint, uint&, uint&);
+ virtual void create (WId = 0, bool = 1, bool = 1);
+
+%If ( KDE_3_3_0 - )
+ virtual void ensureCursorVisible ();
+ virtual void setCursor (const QCursor&);
+ virtual void viewportPaintEvent (QPaintEvent*);
+%End
+
+
+protected:
+ void keyPressEvent (QKeyEvent*);
+ void dragMoveEvent (QDragMoveEvent*);
+ void dragEnterEvent (QDragEnterEvent*);
+ void dropEvent (QDropEvent*);
+
+%If ( KDE_3_1_3 - )
+ void contentsDragMoveEvent (QDragMoveEvent*);
+ void contentsDragEnterEvent (QDragEnterEvent*);
+ void contentsDropEvent (QDropEvent*);
+%End
+
+
+protected:
+//igx virtual void virtual_hook (int, void*);
+
+}; // class KEdit
+