summaryrefslogtreecommitdiffstats
path: root/kate/plugins/isearch/ISearchPlugin.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kate/plugins/isearch/ISearchPlugin.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kate/plugins/isearch/ISearchPlugin.h')
-rw-r--r--kate/plugins/isearch/ISearchPlugin.h28
1 files changed, 14 insertions, 14 deletions
diff --git a/kate/plugins/isearch/ISearchPlugin.h b/kate/plugins/isearch/ISearchPlugin.h
index d2f603fb8..9627193b8 100644
--- a/kate/plugins/isearch/ISearchPlugin.h
+++ b/kate/plugins/isearch/ISearchPlugin.h
@@ -27,8 +27,8 @@
#include <ktexteditor/selectioninterface.h>
#include <kxmlguiclient.h>
-#include <qobject.h>
-#include <qguardedptr.h>
+#include <tqobject.h>
+#include <tqguardedptr.h>
class QLabel;
@@ -37,17 +37,17 @@ class ISearchPlugin : public KTextEditor::Plugin, public KTextEditor::PluginView
Q_OBJECT
public:
- ISearchPlugin( QObject *parent = 0, const char* name = 0, const QStringList &args = QStringList() );
+ ISearchPlugin( TQObject *parent = 0, const char* name = 0, const TQStringList &args = TQStringList() );
virtual ~ISearchPlugin();
void addView (KTextEditor::View *view);
void removeView (KTextEditor::View *view);
private:
- QPtrList<class ISearchPluginView> m_views;
+ TQPtrList<class ISearchPluginView> m_views;
};
-class ISearchPluginView : public QObject, public KXMLGUIClient
+class ISearchPluginView : public TQObject, public KXMLGUIClient
{
Q_OBJECT
@@ -55,7 +55,7 @@ public:
ISearchPluginView( KTextEditor::View *view );
virtual ~ISearchPluginView();
- virtual bool eventFilter( QObject*, QEvent* );
+ virtual bool eventFilter( TQObject*, TQEvent* );
void setView( KTextEditor::View* view );
@@ -69,9 +69,9 @@ private slots:
void slotSearchForwardAction();
void slotSearchBackwardAction();
void slotSearchAction( bool reverse );
- void slotTextChanged( const QString& text );
- void slotReturnPressed( const QString& text );
- void slotAddContextMenuItems( QPopupMenu *menu);
+ void slotTextChanged( const TQString& text );
+ void slotReturnPressed( const TQString& text );
+ void slotAddContextMenuItems( TQPopupMenu *menu);
private:
void readConfig();
@@ -81,11 +81,11 @@ private:
bool wrapped = false, bool overwrapped = false );
void startSearch();
void endSearch();
- void quitToView( const QString &text );
+ void quitToView( const TQString &text );
void nextMatch( bool reverse );
bool iSearch( uint startLine, uint startCol,
- const QString& text, bool reverse, bool autoWrap );
+ const TQString& text, bool reverse, bool autoWrap );
KTextEditor::View* m_view;
KTextEditor::Document* m_doc;
@@ -95,9 +95,9 @@ private:
KAction* m_searchForwardAction;
KAction* m_searchBackwardAction;
KWidgetAction* m_comboAction;
- QGuardedPtr<QLabel> m_label;
- QGuardedPtr<KHistoryCombo> m_combo;
- QString m_lastString;
+ TQGuardedPtr<TQLabel> m_label;
+ TQGuardedPtr<KHistoryCombo> m_combo;
+ TQString m_lastString;
bool m_searchBackward;
bool m_caseSensitive;
bool m_fromBeginning;