summaryrefslogtreecommitdiffstats
path: root/src/modules/about/aboutdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/about/aboutdialog.cpp')
-rw-r--r--src/modules/about/aboutdialog.cpp46
1 files changed, 23 insertions, 23 deletions
diff --git a/src/modules/about/aboutdialog.cpp b/src/modules/about/aboutdialog.cpp
index 4d13d98f..47f18adb 100644
--- a/src/modules/about/aboutdialog.cpp
+++ b/src/modules/about/aboutdialog.cpp
@@ -31,12 +31,12 @@
#include "kvi_fileutils.h"
#include "kvi_sourcesdate.h"
-#include <qwidget.h>
-#include <qlayout.h>
+#include <tqwidget.h>
+#include <tqlayout.h>
#include <kvi_tal_textedit.h>
-#include <qlabel.h>
-#include <qpixmap.h>
-#include <qevent.h>
+#include <tqlabel.h>
+#include <tqpixmap.h>
+#include <tqevent.h>
extern KviAboutDialog * g_pAboutDialog;
/*
@@ -78,36 +78,36 @@ KviAboutDialog::KviAboutDialog()
KviStr buffer;
g_pApp->findImage(buffer,"kvi_splash.png");
- QPixmap pix(buffer.ptr());
+ TQPixmap pix(TQString(buffer.ptr()));
- QWidget * w = new QWidget(this);
- QGridLayout * g = new QGridLayout(w,2,1,4,8);
+ TQWidget * w = new TQWidget(this);
+ TQGridLayout * g = new TQGridLayout(w,2,1,4,8);
- QLabel * l = new QLabel(w);
- l->setFrameStyle(QFrame::WinPanel | QFrame::Sunken);
- l->setBackgroundColor(Qt::black);
- l->setAlignment(Qt::AlignCenter);
+ TQLabel * l = new TQLabel(w);
+ l->setFrameStyle(TQFrame::WinPanel | TQFrame::Sunken);
+ l->setBackgroundColor(TQt::black);
+ l->tqsetAlignment(TQt::AlignCenter);
l->setPixmap(pix);
g->addWidget(l,0,0);
- QString aboutString= "KVIrc <b>" KVI_VERSION " '" KVI_RELEASE_NAME "'</b><br>";
+ TQString aboutString= "KVIrc <b>" KVI_VERSION " '" KVI_RELEASE_NAME "'</b><br>";
aboutString += __tr2qs_ctx("Forged by the <b>KVIrc Development Team</b>","about");
aboutString += "<br>";
aboutString += __tr2qs_ctx("Sources date","about");
aboutString += ": ";
aboutString += KVI_SOURCES_DATE;
- l = new QLabel(aboutString,w);
- l->setAlignment(Qt::AlignCenter);
+ l = new TQLabel(aboutString,w);
+ l->tqsetAlignment(TQt::AlignCenter);
g->addWidget(l,1,0);
addTab(w,__tr2qs_ctx("About","about"));
- w = new QWidget(this);
- g = new QGridLayout(w,1,1,4,8);
+ w = new TQWidget(this);
+ g = new TQGridLayout(w,1,1,4,8);
KviTalTextEdit * v = new KviTalTextEdit(w);
v->setReadOnly(true);
@@ -119,17 +119,17 @@ KviAboutDialog::KviAboutDialog()
- w = new QWidget(this);
- g = new QGridLayout(w,1,1,4,8);
+ w = new TQWidget(this);
+ g = new TQGridLayout(w,1,1,4,8);
v = new KviTalTextEdit(w);
v->setReadOnly(true);
v->setWordWrap(KviTalTextEdit::NoWrap);
g->addWidget(v,0,0);
- QString szLicense;
+ TQString szLicense;
- QString szLicensePath;
+ TQString szLicensePath;
g_pApp->getGlobalKvircDirectory(szLicensePath,KviApp::License,"EULA");
if(!KviFileUtils::loadFile(szLicensePath,szLicense))
@@ -144,7 +144,7 @@ KviAboutDialog::KviAboutDialog()
addTab(w,__tr2qs_ctx("License","about"));
- connect(this,SIGNAL(applyButtonPressed()),this,SLOT(closeButtonPressed()));
+ connect(this,TQT_SIGNAL(applyButtonPressed()),this,TQT_SLOT(closeButtonPressed()));
}
KviAboutDialog::~KviAboutDialog()
@@ -152,7 +152,7 @@ KviAboutDialog::~KviAboutDialog()
g_pAboutDialog = 0;
}
-void KviAboutDialog::closeEvent(QCloseEvent *e)
+void KviAboutDialog::closeEvent(TQCloseEvent *e)
{
e->ignore();
delete this;