--- as_slot.cpp 2002/11/18 22:38:04 1.1
+++ as_slot.cpp 2002/11/19 08:17:44 1.2
@@ -172,10 +172,18 @@
//
void Titraqform::about(void)
{
- QMessageBox::about(this, "OSSP titraq",
- trUtf8("OSSP titraq is a time and task-based\n"
+ QMessageBox *pCwmsg = new QMessageBox("OSSP titraq",
+ QObject::trUtf8("OSSP titraq is a time and task-based\n"
"accounting system that acts as both a\n"
- "nwork-like punch card and time tracker."));
+ "work-like punch card and time tracker.\n"
+ "Development of titraq is sponsored by\n"
+ "Cable & Wireless Deutschland GmbH."),
+ QMessageBox::NoIcon, QMessageBox::Ok | QMessageBox::Default,
+ QMessageBox::NoButton, QMessageBox::NoButton,
+ NULL, "Titraqmessage", true, Qt::WStyle_NormalBorder);
+
+ pCwmsg->setIconPixmap(QPixmap(*m_pCwicon));
+ pCwmsg->exec();
}
//
@@ -183,13 +191,19 @@
//
void Titraqform::aboutOSSP(void)
{
- QMessageBox::about(this, "OSSP",
- trUtf8("The open source software project (OSSP) is\n"
+ QMessageBox *pOsspmsg = new QMessageBox("OSSP titraq",
+ QObject::trUtf8("The open source software project (OSSP) is\n"
"a collective effort aimed at implementing\n"
"high-quality Unix software components,\n"
"ranging from networking, multi-threading\n"
"and algorithmic libraries to networking\n"
- "servers and development tools."));
+ "servers and development tools."),
+ QMessageBox::NoIcon, QMessageBox::Ok | QMessageBox::Default,
+ QMessageBox::NoButton, QMessageBox::NoButton,
+ NULL, "Osspmessage", true, Qt::WStyle_NormalBorder);
+
+ pOsspmsg->setIconPixmap(QPixmap(*m_pOsspicon));
+ pOsspmsg->exec();
}
//
|