summaryrefslogtreecommitdiffstats
path: root/src/modules/theme/savethemedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/theme/savethemedialog.cpp')
-rw-r--r--src/modules/theme/savethemedialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp
index a38f33e2..97352393 100644
--- a/src/modules/theme/savethemedialog.cpp
+++ b/src/modules/theme/savethemedialog.cpp
@@ -25,7 +25,7 @@
#include "savethemedialog.h"
#include "themefunctions.h"
-#include <tqlayout.h>
+#include <layout.h>
#include <tqpushbutton.h>
#include <tqlineedit.h>
#include <tqregexp.h>
@@ -158,7 +158,7 @@ KviSaveThemeDialog::KviSaveThemeDialog(TQWidget * pParent)
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";
@@ -247,7 +247,7 @@ bool KviSaveThemeDialog::saveTheme()
sto.setAuthor(m_pAuthorNameEdit->text());
sto.setDescription(m_pThemeDescriptionEdit->text());
- sto.setDate(TQDateTime::tqcurrentDateTime().toString());
+ sto.setDate(TQDateTime::currentDateTime().toString());
sto.setVersion(m_pThemeVersionEdit->text());
sto.setApplication("KVIrc " KVI_VERSION "." KVI_SOURCES_DATE);