summaryrefslogtreecommitdiffstats
path: root/src/modules/theme/packthemedialog.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:07 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-15 15:33:07 -0600
commit805c2821ceaddada48b346c6d11bd0dc1351a539 (patch)
treef4f34d4fae6b86d1b1058f396da4729906edbadb /src/modules/theme/packthemedialog.cpp
parent918c3ff07736f0c343cb190d3f0df99e4cb8dab8 (diff)
downloadkvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.tar.gz
kvirc-805c2821ceaddada48b346c6d11bd0dc1351a539.zip
Rename a number of old tq methods that are no longer tq specific
Diffstat (limited to 'src/modules/theme/packthemedialog.cpp')
-rw-r--r--src/modules/theme/packthemedialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp
index d29c6322..6c40603b 100644
--- a/src/modules/theme/packthemedialog.cpp
+++ b/src/modules/theme/packthemedialog.cpp
@@ -25,7 +25,7 @@
#include "packthemedialog.h"
#include "themefunctions.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqlineedit.h>
#include <tqregexp.h>
@@ -271,7 +271,7 @@ KviPackThemeDialog::KviPackThemeDialog(TQWidget * pParent,KviPointerList<KviThem
m_pImageLabel = new TQLabel(pPage);
m_pImageLabel->setFrameStyle(TQFrame::Sunken | TQFrame::Panel);
m_pImageLabel->setMinimumSize(300,225);
- m_pImageLabel->tqsetAlignment(TQt::AlignCenter | TQt::AlignVCenter);
+ m_pImageLabel->setAlignment(TQt::AlignCenter | TQt::AlignVCenter);
pLayout->addWidget(m_pImageLabel,1,0);
TQString szFilter = "*.png *.jpg *.xpm";
@@ -293,7 +293,7 @@ KviPackThemeDialog::KviPackThemeDialog(TQWidget * pParent,KviPointerList<KviThem
pLayout = new TQGridLayout(pPage,4,1,4,4);
pLabel = new TQLabel(pPage);
- pLabel->setText(__tr2qs_ctx("Here you must choose the file name for the theme package. It should have a *.%1 extension.","theme").tqarg(KVI_FILEEXTENSION_THEMEPACKAGE));
+ pLabel->setText(__tr2qs_ctx("Here you must choose the file name for the theme package. It should have a *.%1 extension.","theme").arg(KVI_FILEEXTENSION_THEMEPACKAGE));
pLabel->setTextFormat(TQt::RichText);
pLayout->addWidget(pLabel,0,0);
@@ -393,7 +393,7 @@ bool KviPackThemeDialog::packTheme()
KviPackageWriter f;
- TQString szTmp = TQDateTime::tqcurrentDateTime().toString();
+ TQString szTmp = TQDateTime::currentDateTime().toString();
f.addInfoField("PackageType","ThemePack");
f.addInfoField("ThemePackVersion","1");