diff options
Diffstat (limited to 'lib/kformula/kformulaconfigpage.cc')
-rw-r--r-- | lib/kformula/kformulaconfigpage.cc | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/kformula/kformulaconfigpage.cc b/lib/kformula/kformulaconfigpage.cc index 3152c26b..687345e2 100644 --- a/lib/kformula/kformulaconfigpage.cc +++ b/lib/kformula/kformulaconfigpage.cc @@ -287,9 +287,9 @@ bool ConfigurePage::selectFont( TQFont & font ) { TQStringList list; - KFontChooser::getFontList( list, KFontChooser::SmoothScalableFonts ); + TDEFontChooser::getFontList( list, TDEFontChooser::SmoothScalableFonts ); - KFontDialog dlg( m_view, 0, false, true, list ); + TDEFontDialog dlg( m_view, 0, false, true, list ); dlg.setFont( font ); int result = dlg.exec(); @@ -317,10 +317,10 @@ void ConfigurePage::slotChanged() m_changed = true; } -// class UsedFontItem : public KListViewItem { +// class UsedFontItem : public TDEListViewItem { // public: // UsedFontItem( MathFontsConfigurePage* page, TQListView* parent, TQString font ) -// : KListViewItem( parent, font ), m_page( page ) {} +// : TDEListViewItem( parent, font ), m_page( page ) {} // int compare( TQListViewItem* i, int col, bool ascending ) const; @@ -350,7 +350,7 @@ void ConfigurePage::slotChanged() // TQHBoxLayout* hLayout = new TQHBoxLayout( 0, 0, 6 ); -// availableFonts = new KListView( fontWidget ); +// availableFonts = new TDEListView( fontWidget ); // availableFonts->addColumn( i18n( "Available Fonts" ) ); // hLayout->addWidget( availableFonts ); @@ -377,7 +377,7 @@ void ConfigurePage::slotChanged() // moveUp->setText( i18n( "Up" ) ); // vLayout->addWidget( moveUp ); -// requestedFonts = new KListView( fontWidget ); +// requestedFonts = new TDEListView( fontWidget ); // requestedFonts->addColumn( i18n( "Used Fonts" ) ); // vLayout->addWidget( requestedFonts ); @@ -471,7 +471,7 @@ void ConfigurePage::slotChanged() // } // } // for ( TQMap<TQString, TQString>::iterator it = fontMap.begin(); it != fontMap.end(); ++it ) { -// new KListViewItem( availableFonts, it.key() ); +// new TDEListViewItem( availableFonts, it.key() ); // } // } @@ -499,7 +499,7 @@ void ConfigurePage::slotChanged() // } // //requestedFonts->takeItem( fontItem ); // delete fontItem; -// new KListViewItem( availableFonts, fontName ); +// new TDEListViewItem( availableFonts, fontName ); // } // } |