diff options
Diffstat (limited to 'kate/part/kateschema.cpp')
-rw-r--r-- | kate/part/kateschema.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kate/part/kateschema.cpp b/kate/part/kateschema.cpp index 76e187c8c..307caec09 100644 --- a/kate/part/kateschema.cpp +++ b/kate/part/kateschema.cpp @@ -80,7 +80,7 @@ This widget is designed to work with the KateStyleListView class exclusively. Added by anders, jan 23 2002. */ -class KateStyleListItem : public QListViewItem +class KateStyleListItem : public TQListViewItem { public: KateStyleListItem( TQListViewItem *parent=0, const TQString & stylename=0, @@ -141,7 +141,7 @@ class KateStyleListItem : public QListViewItem to use our own palette (that is set on the viewport rather than on the listview itself). */ -class KateStyleListCaption : public QListViewItem +class KateStyleListCaption : public TQListViewItem { public: KateStyleListCaption( TQListView *parent, const TQString & name ); @@ -244,7 +244,7 @@ uint KateSchemaManager::number (const TQString &name) return 1; int i; - if ((i = m_schemas.findIndex(name)) > -1) + if ((i = m_schemas.tqfindIndex(name)) > -1) return i; return 0; @@ -416,7 +416,7 @@ void KateSchemaConfigColorTab::schemaChanged ( int newSchema ) m_linenumber->disconnect( TQT_SIGNAL( changed( const TQColor & ) ) ); // If we havent this schema, read in from config file - if ( ! m_schemas.contains( newSchema ) ) + if ( ! m_schemas.tqcontains( newSchema ) ) { // fallback defaults TQColor tmp0 (KGlobalSettings::baseColor()); @@ -746,7 +746,7 @@ void KateSchemaConfigHighlightTab::schemaChanged (uint schema) m_hlDict[m_schema]->setAutoDelete (true); } - if (!m_hlDict[m_schema]->find(m_hl)) + if (!m_hlDict[m_schema]->tqfind(m_hl)) { kdDebug(13030) << "NEW HL, create list" << endl; @@ -775,9 +775,9 @@ void KateSchemaConfigHighlightTab::schemaChanged (uint schema) m_styles->viewport()->setPalette( p ); TQDict<KateStyleListCaption> prefixes; - for ( KateHlItemData *itemData = m_hlDict[m_schema]->find(m_hl)->last(); + for ( KateHlItemData *itemData = m_hlDict[m_schema]->tqfind(m_hl)->last(); itemData != 0L; - itemData = m_hlDict[m_schema]->find(m_hl)->prev()) + itemData = m_hlDict[m_schema]->tqfind(m_hl)->prev()) { kdDebug(13030) << "insert items " << itemData->name << endl; @@ -969,7 +969,7 @@ void KateSchemaConfigPage::newSchema () // soft update, no load from disk KateFactory::self()->schemaManager()->update (false); - int i = KateFactory::self()->schemaManager()->list ().findIndex (t); + int i = KateFactory::self()->schemaManager()->list ().tqfindIndex (t); update (); if (i > -1) @@ -1021,7 +1021,7 @@ void KateViewSchemaAction::slotAboutToShow() { TQString hlName = KateFactory::self()->schemaManager()->list().operator[](z); - if (names.contains(hlName) < 1) + if (names.tqcontains(hlName) < 1) { names << hlName; popupMenu()->insertItem ( hlName, this, TQT_SLOT(setSchema(int)), 0, z+1); |