summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/klistviewsearchline.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:01:10 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:01:10 -0600
commita6000c6f2f1a03b34f15d1948f63f0c894f09451 (patch)
tree59a9994e4bb71bc5a74704773e677f2d2474c017 /kmymoney2/widgets/klistviewsearchline.h
parentdb89d6f6d944825a20ce69bb11c23b19b2935164 (diff)
downloadkmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.tar.gz
kmymoney-a6000c6f2f1a03b34f15d1948f63f0c894f09451.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kmymoney2/widgets/klistviewsearchline.h')
-rw-r--r--kmymoney2/widgets/klistviewsearchline.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/kmymoney2/widgets/klistviewsearchline.h b/kmymoney2/widgets/klistviewsearchline.h
index 28aeaef..2ffad3c 100644
--- a/kmymoney2/widgets/klistviewsearchline.h
+++ b/kmymoney2/widgets/klistviewsearchline.h
@@ -24,7 +24,7 @@
#include <tqhbox.h>
#include <kmymoney/export.h>
-class KListView;
+class TDEListView;
class TQListViewItem;
class TQToolButton;
@@ -33,12 +33,12 @@ class TQToolButton;
* listview based on a simple text search.
*
* No changes to the application other than instantiating this class with an
- * appropriate KListView should be needed.
+ * appropriate TDEListView should be needed.
*
* @since 3.3
*/
-class KMYMONEY_EXPORT KListViewSearchLine : public KLineEdit
+class KMYMONEY_EXPORT TDEListViewSearchLine : public KLineEdit
{
Q_OBJECT
@@ -46,24 +46,24 @@ class KMYMONEY_EXPORT KListViewSearchLine : public KLineEdit
public:
/**
- * Constructs a KListViewSearchLine with \a listView being the KListView to
+ * Constructs a TDEListViewSearchLine with \a listView being the TDEListView to
* be filtered.
*
* If \a listView is null then the widget will be disabled until a listview
* is set with setListView().
*/
- KListViewSearchLine(TQWidget *parent = 0, KListView *listView = 0, const char *name = 0);
+ TDEListViewSearchLine(TQWidget *parent = 0, TDEListView *listView = 0, const char *name = 0);
/**
- * Constructs a KListViewSearchLine without any KListView to filter. The
- * KListView object has to be set later with setListView().
+ * Constructs a TDEListViewSearchLine without any TDEListView to filter. The
+ * TDEListView object has to be set later with setListView().
*/
- KListViewSearchLine(TQWidget *parent, const char *name);
+ TDEListViewSearchLine(TQWidget *parent, const char *name);
/**
- * Destroys the KListViewSearchLine.
+ * Destroys the TDEListViewSearchLine.
*/
- virtual ~KListViewSearchLine();
+ virtual ~TDEListViewSearchLine();
/**
* Returns true if the search is case sensitive. This defaults to false.
@@ -93,7 +93,7 @@ public:
*
* @see setListView()
*/
- KListView *listView() const;
+ TDEListView *listView() const;
public slots:
/**
@@ -131,12 +131,12 @@ public slots:
void setSearchColumns(const TQValueList<int> &columns);
/**
- * Sets the KListView that is filtered by this search line. If \a lv is null
+ * Sets the TDEListView that is filtered by this search line. If \a lv is null
* then the widget will be disabled.
*
* @see listView()
*/
- void setListView(KListView *lv);
+ void setListView(TDEListView *lv);
protected:
@@ -201,44 +201,44 @@ private slots:
void searchColumnsMenuActivated(int);
private:
- class KListViewSearchLinePrivate;
- KListViewSearchLinePrivate *d;
+ class TDEListViewSearchLinePrivate;
+ TDEListViewSearchLinePrivate *d;
};
/**
- * Creates a widget featuring a KListViewSearchLine, a label with the text
+ * Creates a widget featuring a TDEListViewSearchLine, a label with the text
* "Search" and a button to clear the search.
*
* @since 3.4
*/
-class KMYMONEY_EXPORT KListViewSearchLineWidget : public TQHBox
+class KMYMONEY_EXPORT TDEListViewSearchLineWidget : public TQHBox
{
Q_OBJECT
public:
/**
- * Creates a KListViewSearchLineWidget for \a listView with \a parent as the
+ * Creates a TDEListViewSearchLineWidget for \a listView with \a parent as the
* parent with and \a name.
*/
- KListViewSearchLineWidget(KListView *listView = 0, TQWidget *parent = 0,
+ TDEListViewSearchLineWidget(TDEListView *listView = 0, TQWidget *parent = 0,
const char *name = 0);
/**
- * Destroys the KListViewSearchLineWidget
+ * Destroys the TDEListViewSearchLineWidget
*/
- ~KListViewSearchLineWidget();
+ ~TDEListViewSearchLineWidget();
/**
* Creates the search line. This can be useful to reimplement in cases where
- * a KListViewSearchLine subclass is used.
+ * a TDEListViewSearchLine subclass is used.
*/
- virtual KListViewSearchLine *createSearchLine(KListView *listView);
+ virtual TDEListViewSearchLine *createSearchLine(TDEListView *listView);
/**
* Returns a pointer to the search line.
*/
- KListViewSearchLine *searchLine() const;
+ TDEListViewSearchLine *searchLine() const;
protected slots:
/**
@@ -253,8 +253,8 @@ private slots:
void positionInToolBar();
private:
- class KListViewSearchLineWidgetPrivate;
- KListViewSearchLineWidgetPrivate *d;
+ class TDEListViewSearchLineWidgetPrivate;
+ TDEListViewSearchLineWidgetPrivate *d;
};
#endif