summaryrefslogtreecommitdiffstats
path: root/src/apppropprg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/apppropprg.cpp')
-rw-r--r--src/apppropprg.cpp28
1 files changed, 14 insertions, 14 deletions
diff --git a/src/apppropprg.cpp b/src/apppropprg.cpp
index b806b67..ab20985 100644
--- a/src/apppropprg.cpp
+++ b/src/apppropprg.cpp
@@ -19,7 +19,7 @@
#include "appProp.h"
#include "kooldock.h"
-appPropPrg::appPropPrg(QWidget *parent, const char *name)
+appPropPrg::appPropPrg(TQWidget *parent, const char *name)
: appProp(parent, name)
{
@@ -32,10 +32,10 @@ appPropPrg::~appPropPrg()
void appPropPrg::accept()
{
- QString icon;
- QString desktop;
- QString path;
- QString puser;
+ TQString icon;
+ TQString desktop;
+ TQString path;
+ TQString puser;
icon=iconbutton->icon();
desktop=cmdname->text();
@@ -70,14 +70,14 @@ void appPropPrg::accept()
desktop.append(".desktop");
//To handle position
- QString progPath = locateLocal("data", "kooldock");
- QDir dir(progPath + QString("/menu/"));
- QString preffix;
- QStringList fileList = dir.entryList("*.desktop");
+ TQString progPath = locateLocal("data", "kooldock");
+ TQDir dir(progPath + TQString("/menu/"));
+ TQString preffix;
+ TQStringList fileList = dir.entryList("*.desktop");
int pos=fileList.count();
- if(pos<10) preffix=QString("0%1_").arg(pos);
- if(pos>=10) preffix=QString("%1_").arg(pos);
+ if(pos<10) preffix=TQString("0%1_").arg(pos);
+ if(pos>=10) preffix=TQString("%1_").arg(pos);
desktop.prepend(preffix);
//End handling position
@@ -103,7 +103,7 @@ void appPropPrg::reject()
this->hide();
}
-void appPropPrg::closeEvent( QCloseEvent *e )
+void appPropPrg::closeEvent( TQCloseEvent *e )
{
e->ignore();
reject();
@@ -111,9 +111,9 @@ void appPropPrg::closeEvent( QCloseEvent *e )
void appPropPrg::cmdfile_clicked()
{
- QString tmp;
+ TQString tmp;
- QString fileToOpen=KFileDialog::getOpenFileName(QDir::currentDirPath(), "*.*", this, i18n("Open File"));
+ TQString fileToOpen=KFileDialog::getOpenFileName(TQDir::currentDirPath(), "*.*", this, i18n("Open File"));
if (!fileToOpen.isEmpty())
{
cmdpath->setText(fileToOpen);