summaryrefslogtreecommitdiffstats
path: root/quanta/dialogs/settings/filemasks.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-16 19:02:47 +0000
commite985f7e545f4739493965aad69bbecb136dc9346 (patch)
tree54afd409d8acd6202dd8ab611d24e78c28e4c0a0 /quanta/dialogs/settings/filemasks.cpp
parentf7670c198945adc3b95ad69a959fe5f8ae55b493 (diff)
downloadtdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.tar.gz
tdewebdev-e985f7e545f4739493965aad69bbecb136dc9346.zip
TQt4 port kdewebdev
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdewebdev@1237029 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'quanta/dialogs/settings/filemasks.cpp')
-rw-r--r--quanta/dialogs/settings/filemasks.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/quanta/dialogs/settings/filemasks.cpp b/quanta/dialogs/settings/filemasks.cpp
index fee135f8..5f96a2eb 100644
--- a/quanta/dialogs/settings/filemasks.cpp
+++ b/quanta/dialogs/settings/filemasks.cpp
@@ -1,5 +1,5 @@
/***************************************************************************
- filesmask.cpp - description
+ filestqmask.cpp - description
-------------------
begin : Fri May 19 2000
copyright : (C) 2000 by Yacovlev Alexander & Dmitry Poplavsky <[email protected]>
@@ -23,15 +23,15 @@
//kde includes
#include <kmimetype.h>
-FileMasks::FileMasks(TQWidget *parent, const char *name)
- :FileMasksS(parent,name)
+FileMasks::FileMasks(TQWidget *tqparent, const char *name)
+ :FileMasksS(tqparent,name)
{
connect(buttonDefault, TQT_SIGNAL(clicked()), this, TQT_SLOT(setToDefault()));
}
FileMasks::~FileMasks(){
}
-/** set masks to default */
+/** set tqmasks to default */
void FileMasks::setToDefault()
{
KMimeType::List list = KMimeType::allMimeTypes();
@@ -43,12 +43,12 @@ void FileMasks::setToDefault()
for ( it = list.begin(); it != list.end(); ++it )
{
name = (*it)->name();
- if (name.contains("text"))
+ if (name.tqcontains("text"))
{
- if (!markup.contains(name) && !script.contains(name))
+ if (!markup.tqcontains(name) && !script.tqcontains(name))
text += name+"; ";
}
- if (name.contains("image"))
+ if (name.tqcontains("image"))
{
image += name +"; ";
}