Rename KDE_VERSION to TDE_VERSION

pull/1/head
Timothy Pearson 13 years ago
parent e89e1f26ab
commit 213ef2cf5a

@ -30,7 +30,7 @@
#include <kaction.h>
#include <kapplication.h>
#include <klistview.h>
#if KDE_VERSION >= 0x030500
#if TDE_VERSION >= 0x030500
#include <klistviewsearchline.h>
#endif
#include <klocale.h>
@ -109,7 +109,7 @@ KActionMap::KActionMap( KActionCollection* actions, TQWidget* parent, const char
TQVBoxLayout* tqlayout = new TQVBoxLayout( this );
m_listView = new KListView( this );
#if KDE_VERSION >= 0x030500
#if TDE_VERSION >= 0x030500
m_searchLine = new KListViewSearchLineWidget( m_listView, this );
#endif
@ -122,7 +122,7 @@ KActionMap::KActionMap( KActionCollection* actions, TQWidget* parent, const char
m_listView->setSorting( 0 );
m_listView->setAllColumnsShowFocus( true );
#if KDE_VERSION >= 0x030500
#if TDE_VERSION >= 0x030500
tqlayout->addWidget( m_searchLine );
#endif
tqlayout->addWidget( m_listView );

@ -24,7 +24,7 @@
class KActionCollection;
class KActionMap;
#if KDE_VERSION >= 0x030500
#if TDE_VERSION >= 0x030500
class KListViewSearchLineWidget;
#endif
class KListView;
@ -91,7 +91,7 @@ class KActionMap : public TQWidget {
private:
KActionCollection* m_actions;
KListView* m_listView;
#if KDE_VERSION >= 0x030500
#if TDE_VERSION >= 0x030500
KListViewSearchLineWidget* m_searchLine;
#endif

Loading…
Cancel
Save