summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors')
-rw-r--r--lib/koproperty/editors/fontedit.cpp8
-rw-r--r--lib/koproperty/editors/pixmapedit.cpp2
2 files changed, 5 insertions, 5 deletions
diff --git a/lib/koproperty/editors/fontedit.cpp b/lib/koproperty/editors/fontedit.cpp
index 589e0a3b..84c7c3d2 100644
--- a/lib/koproperty/editors/fontedit.cpp
+++ b/lib/koproperty/editors/fontedit.cpp
@@ -41,11 +41,11 @@
namespace KoProperty {
-class FontEditRequester : public KFontRequester
+class FontEditRequester : public TDEFontRequester
{
public:
FontEditRequester(TQWidget* parent)
- : KFontRequester(parent)
+ : TDEFontRequester(parent)
{
label()->setPaletteBackgroundColor(palette().active().base());
label()->setMinimumWidth(0);
@@ -53,7 +53,7 @@ class FontEditRequester : public KFontRequester
label()->setIndent(-1);
#if TDE_VERSION >= TDE_MAKE_VERSION(3,4,0)
label()->setFocusPolicy(TQ_ClickFocus);
- KAcceleratorManager::setNoAccel(label());
+ TDEAcceleratorManager::setNoAccel(label());
#endif
layout()->remove(label());
layout()->remove(button());//->reparent(this, 0, TQPoint(0,0));
@@ -67,7 +67,7 @@ class FontEditRequester : public KFontRequester
}
virtual void resizeEvent(TQResizeEvent *e)
{
- KFontRequester::resizeEvent(e);
+ TDEFontRequester::resizeEvent(e);
label()->move(0,0);
label()->resize(e->size()-TQSize(button()->width(),-1));
button()->move(label()->width(),0);
diff --git a/lib/koproperty/editors/pixmapedit.cpp b/lib/koproperty/editors/pixmapedit.cpp
index 30fd5dbd..f803d4c3 100644
--- a/lib/koproperty/editors/pixmapedit.cpp
+++ b/lib/koproperty/editors/pixmapedit.cpp
@@ -188,7 +188,7 @@ PixmapEdit::selectPixmap()
//save last visited path
KURL url(fileName);
if (url.isLocalFile())
- KRecentDirs::add(":lastVisitedImagePath", url.directory());
+ TDERecentDirs::add(":lastVisitedImagePath", url.directory());
#endif
}