summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/viewpart
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
committerTimothy Pearson <[email protected]>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /kcontrol/kfontinst/viewpart
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kcontrol/kfontinst/viewpart')
-rw-r--r--kcontrol/kfontinst/viewpart/FontViewPart.cpp2
-rw-r--r--kcontrol/kfontinst/viewpart/FontViewPart.h4
-rw-r--r--kcontrol/kfontinst/viewpart/kfontview.desktop6
3 files changed, 6 insertions, 6 deletions
diff --git a/kcontrol/kfontinst/viewpart/FontViewPart.cpp b/kcontrol/kfontinst/viewpart/FontViewPart.cpp
index 6147363b9..a95c4e4e6 100644
--- a/kcontrol/kfontinst/viewpart/FontViewPart.cpp
+++ b/kcontrol/kfontinst/viewpart/FontViewPart.cpp
@@ -107,7 +107,7 @@ CFontViewPart::CFontViewPart(TQWidget *parent, const char *name)
connect(itsInstallButton, TQT_SIGNAL(clicked()), TQT_SLOT(install()));
connect(itsFaceSelector, TQT_SIGNAL(valueChanged(int)), itsPreview, TQT_SLOT(showFace(int)));
- itsChangeTextAction=new KAction(i18n("Change Text..."), "text", KShortcut(),
+ itsChangeTextAction=new TDEAction(i18n("Change Text..."), "text", TDEShortcut(),
this, TQT_SLOT(changeText()), actionCollection(), "changeText");
itsChangeTextAction->setEnabled(false);
itsPrintAction=KStdAction::print(this, TQT_SLOT(print()), actionCollection(), "print");
diff --git a/kcontrol/kfontinst/viewpart/FontViewPart.h b/kcontrol/kfontinst/viewpart/FontViewPart.h
index 1e4500c5a..29ef28d6c 100644
--- a/kcontrol/kfontinst/viewpart/FontViewPart.h
+++ b/kcontrol/kfontinst/viewpart/FontViewPart.h
@@ -35,7 +35,7 @@ class TQPushButton;
class TQFrame;
class TQLabel;
class KIntNumInput;
-class KAction;
+class TDEAction;
class KURL;
namespace KFI
@@ -74,7 +74,7 @@ class CFontViewPart : public KParts::ReadOnlyPart
*itsToolsFrame;
TQLabel *itsFaceLabel;
KIntNumInput *itsFaceSelector;
- KAction *itsChangeTextAction,
+ TDEAction *itsChangeTextAction,
*itsPrintAction;
bool itsShowInstallButton;
int itsFace;
diff --git a/kcontrol/kfontinst/viewpart/kfontview.desktop b/kcontrol/kfontinst/viewpart/kfontview.desktop
index f774dba33..88a964974 100644
--- a/kcontrol/kfontinst/viewpart/kfontview.desktop
+++ b/kcontrol/kfontinst/viewpart/kfontview.desktop
@@ -1,10 +1,10 @@
[Desktop Entry]
-Name=KFontView
+Name=TDEFontView
Name[be]=Прагляд шрыфтоў
Name[bn]=কে-ফন্ট-ভিউ
Name[cs]=Prohlížeč písem
Name[eo]=Tiparorigardilo
-Name[eu]=KFontWiew
+Name[eu]=TDEFontWiew
Name[he]=מציג גופנים
Name[hi]=के-फ़ॉन्ट-व्यू
Name[mk]=КФонтПреглед
@@ -18,7 +18,7 @@ Name[sk]=Prehliadač písiem
Name[sv]=Kfontview
Name[tg]=Намоишгари КҲарф
Name[vi]=Trình xem phông chữ TDE
-Name[wa]=Håyneu di fontes (KFontView)
+Name[wa]=Håyneu di fontes (TDEFontView)
Name[zh_CN]=字体预览
Exec=kfontview %i %u
Icon=fonts