summaryrefslogtreecommitdiffstats
path: root/kiconedit
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-20 18:14:05 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-02-20 18:14:05 -0600
commit19c822c41d0644be3f2bed9ddb86b5f996c0d023 (patch)
treed6e9e16f525755940ea0af5b3fc90e980f1be5ec /kiconedit
parent2e433f9dc4a5b8b979662f80cae2903a4496f7a3 (diff)
downloadtdegraphics-19c822c41d0644be3f2bed9ddb86b5f996c0d023.tar.gz
tdegraphics-19c822c41d0644be3f2bed9ddb86b5f996c0d023.zip
Fix Q_CHECK_PTR
Diffstat (limited to 'kiconedit')
-rw-r--r--kiconedit/kiconeditslots.cpp2
-rw-r--r--kiconedit/kicongrid.cpp6
-rw-r--r--kiconedit/main.cpp4
-rw-r--r--kiconedit/utils.cpp2
4 files changed, 7 insertions, 7 deletions
diff --git a/kiconedit/kiconeditslots.cpp b/kiconedit/kiconeditslots.cpp
index 7d8fffd7..e6b8fe67 100644
--- a/kiconedit/kiconeditslots.cpp
+++ b/kiconedit/kiconeditslots.cpp
@@ -71,7 +71,7 @@ void KIconEdit::slotNewWin(const TQString & url)
//kdDebug(4640) << "KIconEdit::openNewWin() - " << url << endl;
KIconEdit *w = new KIconEdit(KURL(url), "kiconedit");
- Q_CHECK_PTR(w);
+ TQ_CHECK_PTR(w);
}
diff --git a/kiconedit/kicongrid.cpp b/kiconedit/kicongrid.cpp
index 5f5d9387..686238a0 100644
--- a/kiconedit/kicongrid.cpp
+++ b/kiconedit/kicongrid.cpp
@@ -79,10 +79,10 @@ KGridView::KGridView(TQImage *image, KCommandHistory* history, TQWidget *parent,
KIconEditProperties *props = KIconEditProperties::self();
viewport = new TQScrollView(this);
- Q_CHECK_PTR(viewport);
+ TQ_CHECK_PTR(viewport);
_grid = new KIconEditGrid(image, history, viewport->viewport());
- Q_CHECK_PTR(_grid);
+ TQ_CHECK_PTR(_grid);
viewport->addChild(_grid);
_grid->setGrid(props->showGrid());
_grid->setCellSize(props->gridScale());
@@ -1372,7 +1372,7 @@ void KIconEditGrid::editPasteAsNew()
if(isModified())
{
KIconEdit *w = new KIconEdit(tmp);
- Q_CHECK_PTR(w);
+ TQ_CHECK_PTR(w);
}
else
{
diff --git a/kiconedit/main.cpp b/kiconedit/main.cpp
index 52abdd09..2e0b82f2 100644
--- a/kiconedit/main.cpp
+++ b/kiconedit/main.cpp
@@ -71,13 +71,13 @@ int main(int argc, char **argv)
for(int i = 0; i < args->count(); i++)
{
KIconEdit *ki = new KIconEdit(args->url(i), "kiconedit");
- Q_CHECK_PTR(ki);
+ TQ_CHECK_PTR(ki);
}
if (args->count() == 0)
{
KIconEdit *ki = new KIconEdit;
- Q_CHECK_PTR(ki);
+ TQ_CHECK_PTR(ki);
}
args->clear();
}
diff --git a/kiconedit/utils.cpp b/kiconedit/utils.cpp
index e5748ffe..375fa946 100644
--- a/kiconedit/utils.cpp
+++ b/kiconedit/utils.cpp
@@ -37,7 +37,7 @@ void setupImageHandlers()
kdDebug(4640) << "Initializing formats" << endl;
formats = new imageFormats;
- Q_CHECK_PTR(formats);
+ TQ_CHECK_PTR(formats);
formats->setAutoDelete(true);
formats->append(new imageFormat("GIF", "GIF", "gif"));
#ifdef HAVE_LIBJPEG