summaryrefslogtreecommitdiffstats
path: root/tqt3integration/module
diff options
context:
space:
mode:
Diffstat (limited to 'tqt3integration/module')
-rw-r--r--tqt3integration/module/module.cpp6
-rw-r--r--tqt3integration/module/module.h10
2 files changed, 8 insertions, 8 deletions
diff --git a/tqt3integration/module/module.cpp b/tqt3integration/module/module.cpp
index 3f3c4d418..67eb62870 100644
--- a/tqt3integration/module/module.cpp
+++ b/tqt3integration/module/module.cpp
@@ -152,7 +152,7 @@ void* Module::getColor( const TQColor& color, long parent, const TQCString& name
void* Module::getFont( bool /*ok*/, const TQFont& def, long parent, const TQCString& name,
const TQCString& wmclass1, const TQCString& wmclass2 )
{
- KFontDialog* dlg = new KFontDialog( NULL, name.isEmpty() ? name : "Font Selector", false, false );
+ TDEFontDialog* dlg = new TDEFontDialog( NULL, name.isEmpty() ? name : "Font Selector", false, false );
dlg->setFont( def, false );
prepareDialog( dlg, parent, wmclass1, wmclass2 );
dlg->setPlainCaption( i18n( "Select Font" ));
@@ -301,7 +301,7 @@ void Module::dialogDone( int result )
KFileDialog* dlg = static_cast< KFileDialog* >( handle );
TQString filename = result == TQDialog::Accepted ? dlg->selectedFile() : TQString();
if (!filename.isEmpty())
- KRecentDocument::add(filename);
+ TDERecentDocument::add(filename);
post_getSaveFileName( dlg, filename, dlg->baseURL().path(), dlg->currentFilter());
dlg->deleteLater();
break;
@@ -322,7 +322,7 @@ void Module::dialogDone( int result )
}
case JobData::GetFont:
{
- KFontDialog* dlg = static_cast< KFontDialog* >( handle );
+ TDEFontDialog* dlg = static_cast< TDEFontDialog* >( handle );
post_getFont( dlg, result == TQDialog::Accepted ? dlg->font() : TQFont(), result == TQDialog::Accepted );
dlg->deleteLater();
break;
diff --git a/tqt3integration/module/module.h b/tqt3integration/module/module.h
index 4a4f215d4..1430e0530 100644
--- a/tqt3integration/module/module.h
+++ b/tqt3integration/module/module.h
@@ -115,21 +115,21 @@ class KColorDialog
virtual void done( int r ) { ::KColorDialog::done( r ); emit dialogDone( r ); } // hmm?
};
-class KFontDialog
- : public ::KFontDialog
+class TDEFontDialog
+ : public ::TDEFontDialog
{
Q_OBJECT
public:
- KFontDialog( TQWidget *parent, const char *name, bool onlyFixed, bool modal,
+ TDEFontDialog( TQWidget *parent, const char *name, bool onlyFixed, bool modal,
const TQStringList &fontlist = TQStringList(), bool makeFrame = true,
bool diff = false, TQButton::ToggleState *sizeIsRelativeState = 0L )
- : ::KFontDialog( parent, name, onlyFixed, modal, fontlist, makeFrame, diff, sizeIsRelativeState )
+ : ::TDEFontDialog( parent, name, onlyFixed, modal, fontlist, makeFrame, diff, sizeIsRelativeState )
{}
signals:
void dialogDone( int result );
protected:
- virtual void done( int r ) { ::KFontDialog::done( r ); emit dialogDone( r ); }
+ virtual void done( int r ) { ::TDEFontDialog::done( r ); emit dialogDone( r ); }
};
class KDialogBase