summaryrefslogtreecommitdiffstats
path: root/tqt3integration/module/module.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /tqt3integration/module/module.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'tqt3integration/module/module.cpp')
-rw-r--r--tqt3integration/module/module.cpp6
1 files changed, 3 insertions, 3 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;