summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/kgreeter.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-19 11:53:50 -0600
committerSlávek Banko <slavek.banko@axis.cz>2012-06-03 03:26:29 +0200
commita5b44fbe44e58478ad74d819c5f4c36926d31872 (patch)
treefa07b25a5c2a60b5e0b438a0af16d06c9a5ac498 /kdm/kfrontend/kgreeter.cpp
parent6a1f2b1b6b19b0dd47b1e58afff29a12ae158226 (diff)
downloadtdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.tar.gz
tdebase-a5b44fbe44e58478ad74d819c5f4c36926d31872.zip
Remove additional unneeded tq method conversions
(cherry picked from commit f64397c82fa94371ab4a64af28c4d0029f4cd93f)
Diffstat (limited to 'kdm/kfrontend/kgreeter.cpp')
-rw-r--r--kdm/kfrontend/kgreeter.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdm/kfrontend/kgreeter.cpp b/kdm/kfrontend/kgreeter.cpp
index d1d2ea32d..05945348a 100644
--- a/kdm/kfrontend/kgreeter.cpp
+++ b/kdm/kfrontend/kgreeter.cpp
@@ -243,8 +243,8 @@ void KGreeter::handleInputPipe(void) {
currentDisplay = TQString(getenv("DISPLAY"));
currentDisplay = currentDisplay.replace(":", "");
displayNumber = currentDisplay.toInt();
- mPipeFilename = TQString(FIFO_FILE).tqarg(displayNumber);
- ::unlink((TQString(FIFO_SAK_FILE).tqarg(displayNumber)).ascii());
+ mPipeFilename = TQString(FIFO_FILE).arg(displayNumber);
+ ::unlink((TQString(FIFO_SAK_FILE).arg(displayNumber)).ascii());
/* Create the FIFOs if they do not exist */
umask(0);
@@ -338,12 +338,12 @@ class UserListViewItem : public KListViewItem {
parent->cachedSizeHint.setWidth( -1 );
}
- virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int tqalignment)
+ virtual void paintCell(TQPainter *p, const TQColorGroup &cg, int column, int width, int alignment)
{
if (((UserListView*)listView())->themed)
- TQListViewItem::paintCell(p, cg, column, width, tqalignment);
+ TQListViewItem::paintCell(p, cg, column, width, alignment);
else
- KListViewItem::paintCell(p, cg, column, width, tqalignment);
+ KListViewItem::paintCell(p, cg, column, width, alignment);
}
TQString login;
@@ -422,7 +422,7 @@ KGreeter::insertUser( const TQImage &default_pix,
if ( randomFace.isNull() ) {
TQStringList::size_type index = 0;
for ( size_t i = 0; i < username.length(); ++i )
- index += ( 0x7f - username.tqat( i ).latin1() ) % 37;
+ index += ( 0x7f - username.at( i ).latin1() ) % 37;
randomFace = randomFaces[ index % randomFaces.count() ];
}
p.load( _faceDir + "/../pics/users/" + randomFace + ".png" );