summaryrefslogtreecommitdiffstats
path: root/kdf/kwikdisk.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kdf/kwikdisk.cpp')
-rw-r--r--kdf/kwikdisk.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/kdf/kwikdisk.cpp b/kdf/kwikdisk.cpp
index 6b9dafb..aba455b 100644
--- a/kdf/kwikdisk.cpp
+++ b/kdf/kwikdisk.cpp
@@ -69,11 +69,11 @@ KwikDisk::KwikDisk()
setPixmap(KSystemTray::loadIcon("kdf"));
show();
- connect( &m_diskList, TQT_SIGNAL(readDFDone()), this, TQT_SLOT(updateDFDone()) );
- connect( &m_diskList, TQT_SIGNAL(criticallyFull(DiskEntry*)),
- this, TQT_SLOT(criticallyFull(DiskEntry*)) );
+ connect( &m_diskList, TQ_SIGNAL(readDFDone()), this, TQ_SLOT(updateDFDone()) );
+ connect( &m_diskList, TQ_SIGNAL(criticallyFull(DiskEntry*)),
+ this, TQ_SLOT(criticallyFull(DiskEntry*)) );
- connect( contextMenu(), TQT_SIGNAL(aboutToHide()), this, TQT_SLOT(aboutToHide()) );
+ connect( contextMenu(), TQ_SIGNAL(aboutToHide()), this, TQ_SLOT(aboutToHide()) );
loadSettings();
updateDF();
@@ -184,7 +184,7 @@ void KwikDisk::updateDFDone()
{
entryName += TQString("\t\t\t[%1]").arg(disk->prettyKBAvail());
}
- int id = contextMenu()->insertItem("", this, TQT_SLOT(toggleMount(int)) );
+ int id = contextMenu()->insertItem("", this, TQ_SLOT(toggleMount(int)) );
contextMenu()->setItemParameter(id, itemNo);
itemNo++;
@@ -215,7 +215,7 @@ void KwikDisk::updateDFDone()
qp.drawRect(0,0,pix->width(),pix->height());
qp.end();
}
- contextMenu()->disconnectItem(id,disk,TQT_SLOT(toggleMount()));
+ contextMenu()->disconnectItem(id,disk,TQ_SLOT(toggleMount()));
toolTipText = i18n("You must login as root to mount this disk");
}
@@ -226,21 +226,21 @@ void KwikDisk::updateDFDone()
contextMenu()->insertItem(
KSystemTray::loadIcon("kdf"),
- i18n("&Start KDiskFree"), this, TQT_SLOT(startKDF()),0);
+ i18n("&Start KDiskFree"), this, TQ_SLOT(startKDF()),0);
contextMenu()->insertItem(
KSystemTray::loadIcon("configure"),
- i18n("&Configure KwikDisk..."), this, TQT_SLOT(changeSettings()),0);
+ i18n("&Configure KwikDisk..."), this, TQ_SLOT(changeSettings()),0);
contextMenu()->insertItem(
KSystemTray::loadIcon("help"),
- KStdGuiItem::help().text(), this, TQT_SLOT(invokeHelp()),0);
+ KStdGuiItem::help().text(), this, TQ_SLOT(invokeHelp()),0);
contextMenu()->insertSeparator();
contextMenu()->insertItem(
KSystemTray::loadIcon("system-log-out"),
- KStdGuiItem::quit().text(), this, TQT_SIGNAL(quitSelected()) );
+ KStdGuiItem::quit().text(), this, TQ_SIGNAL(quitSelected()) );
}
void KwikDisk::toggleMount(int item)
@@ -297,8 +297,8 @@ void KwikDisk::changeSettings()
{
m_optionDialog = new COptionDialog(this, "options", FALSE);
if( !m_optionDialog ) return;
- connect(m_optionDialog, TQT_SIGNAL(valueChanged()),
- this, TQT_SLOT(loadSettings()));
+ connect(m_optionDialog, TQ_SIGNAL(valueChanged()),
+ this, TQ_SLOT(loadSettings()));
}
m_optionDialog->show();
}
@@ -335,7 +335,7 @@ int main(int argc, char **argv)
KwikDisk *mainWin = 0;
mainWin = new KwikDisk;
- TQObject::connect(mainWin, TQT_SIGNAL(quitSelected()), &app, TQT_SLOT(quit()));
+ TQObject::connect(mainWin, TQ_SIGNAL(quitSelected()), &app, TQ_SLOT(quit()));
// mainWin has WDestructiveClose flag by default, so it will delete itself.
return app.exec();