summaryrefslogtreecommitdiffstats
path: root/kdeui/kauthicon.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kdeui/kauthicon.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz
tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip
Revert automated changes
Sorry guys, they are just not ready for prime time Work will continue as always git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeui/kauthicon.cpp')
-rw-r--r--kdeui/kauthicon.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/kdeui/kauthicon.cpp b/kdeui/kauthicon.cpp
index 2e9f2f69c..d4c18a114 100644
--- a/kdeui/kauthicon.cpp
+++ b/kdeui/kauthicon.cpp
@@ -102,7 +102,7 @@ KAuthIcon::KAuthIcon(TQWidget *parent, const char *name)
lockBox = new TQLabel(this);
lockBox->setFrameStyle(TQFrame::WinPanel|TQFrame::Raised);
lockBox->setPixmap(lockPM);
- lockBox->setFixedSize(lockBox->tqsizeHint());
+ lockBox->setFixedSize(lockBox->sizeHint());
lockLabel = new TQLabel(this);
lockLabel->setFrameStyle(TQFrame::NoFrame);
@@ -113,18 +113,18 @@ KAuthIcon::KAuthIcon(TQWidget *parent, const char *name)
lockLabel->setText(lockText);
else
lockLabel->setText(openLockText);
- lockLabel->tqsetAlignment(AlignCenter);
- lockLabel->setMinimumSize(lockLabel->tqsizeHint());
+ lockLabel->setAlignment(AlignCenter);
+ lockLabel->setMinimumSize(lockLabel->sizeHint());
lockLabel->setText(lockText);
- tqlayout = new TQHBoxLayout(this);
+ layout = new TQHBoxLayout(this);
- tqlayout->addWidget(lockBox, 0, AlignLeft|AlignVCenter);
- tqlayout->addSpacing(5);
- tqlayout->addWidget(lockLabel, 0, AlignRight|AlignVCenter);
+ layout->addWidget(lockBox, 0, AlignLeft|AlignVCenter);
+ layout->addSpacing(5);
+ layout->addWidget(lockLabel, 0, AlignRight|AlignVCenter);
- tqlayout->activate();
- resize(tqsizeHint());
+ layout->activate();
+ resize(sizeHint());
}
KAuthIcon::~KAuthIcon()
@@ -132,9 +132,9 @@ KAuthIcon::~KAuthIcon()
}
-TQSize KAuthIcon::tqsizeHint() const
+TQSize KAuthIcon::sizeHint() const
{
- return tqlayout->tqminimumSize();
+ return layout->minimumSize();
}
@@ -143,7 +143,7 @@ TQSize KAuthIcon::tqsizeHint() const
KRootPermsIcon::KRootPermsIcon(TQWidget *parent, const char *name)
: KAuthIcon(parent, name)
{
- updatetqStatus();
+ updateStatus();
}
@@ -151,7 +151,7 @@ KRootPermsIcon::~KRootPermsIcon()
{
}
-void KRootPermsIcon::updatetqStatus()
+void KRootPermsIcon::updateStatus()
{
const bool newRoot = (geteuid() == 0);
lockBox->setPixmap(newRoot ? openLockPM : lockPM);
@@ -170,7 +170,7 @@ KWritePermsIcon::KWritePermsIcon(const TQString & fileName,
: KAuthIcon(parent, name)
{
fi.setFile(fileName);
- updatetqStatus();
+ updateStatus();
}
@@ -178,7 +178,7 @@ KWritePermsIcon::~KWritePermsIcon()
{
}
-void KWritePermsIcon::updatetqStatus()
+void KWritePermsIcon::updateStatus()
{
bool newwrite;
newwrite = fi.isWritable();