summaryrefslogtreecommitdiffstats
path: root/kcontrol/kfontinst/viewpart/FontViewerApp.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:33:34 +0000
commitc663b6440964f6ac48027143ac9e63298991f9d0 (patch)
tree6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kcontrol/kfontinst/viewpart/FontViewerApp.cpp
parenta061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff)
downloadtdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz
tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kcontrol/kfontinst/viewpart/FontViewerApp.cpp')
-rw-r--r--kcontrol/kfontinst/viewpart/FontViewerApp.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kcontrol/kfontinst/viewpart/FontViewerApp.cpp b/kcontrol/kfontinst/viewpart/FontViewerApp.cpp
index 5ed5cf455..56540171e 100644
--- a/kcontrol/kfontinst/viewpart/FontViewerApp.cpp
+++ b/kcontrol/kfontinst/viewpart/FontViewerApp.cpp
@@ -43,14 +43,14 @@ namespace KFI
{
CFontViewerAppMainWindow::CFontViewerAppMainWindow()
- : KParts::MainWindow((QWidget *)0L)
+ : KParts::MainWindow((TQWidget *)0L)
{
KLibFactory *factory=KLibLoader::self()->factory("libkfontviewpart");
if(factory)
{
- KStdAction::open(this, SLOT(fileOpen()), actionCollection());
- KStdAction::quit(kapp, SLOT(quit()), actionCollection());
+ KStdAction::open(this, TQT_SLOT(fileOpen()), actionCollection());
+ KStdAction::quit(kapp, TQT_SLOT(quit()), actionCollection());
itsPreview=(KParts::ReadOnlyPart *)factory->create(this, "fontvier", "KParts::ReadOnlyPart");
@@ -71,7 +71,7 @@ CFontViewerAppMainWindow::CFontViewerAppMainWindow()
if(!openURL.isEmpty())
itsPreview->openURL(openURL);
- QSize defSize(450, 380);
+ TQSize defSize(450, 380);
KConfigGroupSaver saver(kapp->config(), CFG_GROUP);
resize(kapp->config()->readSizeEntry(CFG_SIZE_KEY, &defSize));
@@ -90,7 +90,7 @@ CFontViewerAppMainWindow::~CFontViewerAppMainWindow()
void CFontViewerAppMainWindow::fileOpen()
{
- KURL url(KFileDialog::getOpenURL(QString::null, "application/x-font-ttf application/x-font-otf "
+ KURL url(KFileDialog::getOpenURL(TQString::null, "application/x-font-ttf application/x-font-otf "
"application/x-font-ttc application/x-font-type1 "
"application/x-font-bdf application/x-font-pcf ",
this, i18n("Select Font to View")));