summaryrefslogtreecommitdiffstats
path: root/klaptopdaemon/pcmcia.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:52:55 +0000
commit5f5ee2367157176ed223b86343eb0a9e4022e020 (patch)
tree6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /klaptopdaemon/pcmcia.cpp
parent4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff)
downloadtdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz
tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klaptopdaemon/pcmcia.cpp')
-rw-r--r--klaptopdaemon/pcmcia.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/klaptopdaemon/pcmcia.cpp b/klaptopdaemon/pcmcia.cpp
index ed17789..af6b6dc 100644
--- a/klaptopdaemon/pcmcia.cpp
+++ b/klaptopdaemon/pcmcia.cpp
@@ -26,8 +26,8 @@
#include <sys/stat.h>
#include <stdlib.h>
-#include <qfileinfo.h>
-#include <qlayout.h>
+#include <tqfileinfo.h>
+#include <tqlayout.h>
#include <kglobal.h>
#include <klocale.h>
@@ -37,7 +37,7 @@
#include "portable.h"
#include "version.h"
-PcmciaConfig::PcmciaConfig (QWidget * parent, const char *name)
+PcmciaConfig::PcmciaConfig (TQWidget * parent, const char *name)
: KCModule(parent, name)
{
KAboutData *about =
@@ -56,8 +56,8 @@ PcmciaConfig::PcmciaConfig (QWidget * parent, const char *name)
label1_text = laptop_portable::pcmcia_info(3, this);
- QVBoxLayout *top_layout = new QVBoxLayout(this, 15, 5);
- QGridLayout *top_grid = new QGridLayout(2, 2);
+ TQVBoxLayout *top_layout = new TQVBoxLayout(this, 15, 5);
+ TQGridLayout *top_grid = new TQGridLayout(2, 2);
top_layout->addLayout(top_grid);
top_grid->setColStretch(0, 0);
@@ -78,12 +78,12 @@ PcmciaConfig::PcmciaConfig (QWidget * parent, const char *name)
top_layout->addStretch(1);
- QHBoxLayout *v1 = new QHBoxLayout;
+ TQHBoxLayout *v1 = new QHBoxLayout;
top_layout->addLayout(v1, 0);
v1->addStretch(1);
- QString s1 = LAPTOP_VERSION;
- QString s2 = i18n("Version: ")+s1;
- QLabel* vers = new QLabel(s2, this);
+ TQString s1 = LAPTOP_VERSION;
+ TQString s2 = i18n("Version: ")+s1;
+ TQLabel* vers = new TQLabel(s2, this);
vers->setMinimumSize(vers->sizeHint());
v1->addWidget(vers, 0);
@@ -113,7 +113,7 @@ void PcmciaConfig::changed()
}
-QString PcmciaConfig::quickHelp() const
+TQString PcmciaConfig::quickHelp() const
{
return i18n("<h1>PCMCIA Config</h1>This module shows information about "
"the PCMCIA cards in your system, if there are PCMCIA cards.");