summaryrefslogtreecommitdiffstats
path: root/kedit/ktextfiledlg.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:58 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:14:58 -0600
commit9e5c87c89567a98c3344c90e392a27715437334c (patch)
tree6c1dd96ae0ba38b7e8f0a492d591881f44f474da /kedit/ktextfiledlg.cpp
parent53904b41cf005abbae3d468532db9adc2b04a9b4 (diff)
downloadtdeutils-9e5c87c89567a98c3344c90e392a27715437334c.tar.gz
tdeutils-9e5c87c89567a98c3344c90e392a27715437334c.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kedit/ktextfiledlg.cpp')
-rw-r--r--kedit/ktextfiledlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/kedit/ktextfiledlg.cpp b/kedit/ktextfiledlg.cpp
index 47dbd07..3e1c4fe 100644
--- a/kedit/ktextfiledlg.cpp
+++ b/kedit/ktextfiledlg.cpp
@@ -38,7 +38,7 @@ KTextFileDialog::KTextFileDialog(const TQString& startDir,
{
/*
// insert encoding action into toolbar
- KSelectAction *mEncoding = new KSelectAction(
+ TDESelectAction *mEncoding = new TDESelectAction(
i18n( "Set &Encoding" ), 0, this,
TQT_SLOT( slotSetEncoding() ), this,
"encoding" );
@@ -57,17 +57,17 @@ KTextFileDialog::KTextFileDialog(const TQString& startDir,
i++;
}
- KToolBar *tb = toolBar();
+ TDEToolBar *tb = toolBar();
mEncoding->plug( tb, 7 );
*/
- KAction* mEncoding = new KAction(
+ TDEAction* mEncoding = new TDEAction(
i18n("Select Encoding..."), 0,
TQT_TQOBJECT(this), TQT_SLOT( slotShowEncCombo() ), TQT_TQOBJECT(this), "encoding");
mEncoding->setIcon( TQString::fromLatin1("charset") );
- KToolBar *tb = toolBar();
+ TDEToolBar *tb = toolBar();
mEncoding->plug( tb, pathComboIndex() - 1 );
}
@@ -162,9 +162,9 @@ KURL KTextFileDialog::getOpenURLwithEncoding(
KURL url = dlg.selectedURL();
if (url.isValid()) {
if ( url.isLocalFile() )
- KRecentDocument::add( url.path(-1) );
+ TDERecentDocument::add( url.path(-1) );
else
- KRecentDocument::add( url.url(-1), true );
+ TDERecentDocument::add( url.url(-1), true );
}
// append encoding to the URL params
@@ -191,9 +191,9 @@ KURL KTextFileDialog::getSaveURLwithEncoding(
KURL url = dlg.selectedURL();
if (url.isValid()) {
if ( url.isLocalFile() )
- KRecentDocument::add( url.path(-1) );
+ TDERecentDocument::add( url.path(-1) );
else
- KRecentDocument::add( url.url(-1) );
+ TDERecentDocument::add( url.url(-1) );
}
// append encoding to the URL params