summaryrefslogtreecommitdiffstats
path: root/src/notecontent.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-01-04 10:28:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-01-06 19:52:52 +0900
commit31622296062e9eaafb3429eb84f8780fab22e597 (patch)
tree7220cbbc37f829f7139b672ae1d2a74cfb7a6d36 /src/notecontent.cpp
parent50245e3df9d78cdd42e9551fb32a3ea032434b0e (diff)
downloadbasket-31622296.tar.gz
basket-31622296.zip
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit bea15ca3009c2f8505bfa10445c1dc2fc43a4ffe)
Diffstat (limited to 'src/notecontent.cpp')
-rw-r--r--src/notecontent.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/notecontent.cpp b/src/notecontent.cpp
index c3629f6..cbe4d0d 100644
--- a/src/notecontent.cpp
+++ b/src/notecontent.cpp
@@ -930,9 +930,9 @@ bool AnimationContent::setMovie(const TQMovie &movie)
return false;
}
m_movie = movie;
- m_movie.connectUpdate( this, TQT_SLOT(movieUpdated(const TQRect&)) );
- m_movie.connectResize( this, TQT_SLOT(movieResized(const TQSize&)) );
- m_movie.connectStatus( this, TQT_SLOT(movieStatus(int)) );
+ m_movie.connectUpdate( this, TQ_SLOT(movieUpdated(const TQRect&)) );
+ m_movie.connectResize( this, TQ_SLOT(movieResized(const TQSize&)) );
+ m_movie.connectStatus( this, TQ_SLOT(movieStatus(int)) );
contentChanged( m_movie.framePixmap().width() + 1 ); // TODO
return true;
}
@@ -974,10 +974,10 @@ void AnimationContent::movieStatus(int status)
note()->setContent(new ImageContent(note(), fileName()));
basket()->save();
//delete this; // CRASH, as always !!!!!!!!!
- //TQTimer::singleShot(0, this, TQT_SLOT(loadContent())); // Delayed to avoid crash!
- //TQTimer::singleShot(100, this, TQT_SLOT(saveProperties())); // We should save it's an image and not an animation
+ //TQTimer::singleShot(0, this, TQ_SLOT(loadContent())); // Delayed to avoid crash!
+ //TQTimer::singleShot(100, this, TQ_SLOT(saveProperties())); // We should save it's an image and not an animation
// if (note()->isFocused())
-// TQTimer::singleShot(25, note(), TQT_SLOT(delayedEnsureVisible()));
+// TQTimer::singleShot(25, note(), TQ_SLOT(delayedEnsureVisible()));
}
else
m_oldStatus = status;
@@ -1138,8 +1138,8 @@ void FileContent::startFetchingUrlPreview()
KURL::List urlList;
urlList.append(filteredUrl);
m_previewJob = TDEIO::filePreview(urlList, linkLook->previewSize(), linkLook->previewSize(), linkLook->iconSize());
- connect( m_previewJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(newPreview(const KFileItem*, const TQPixmap&)) );
- connect( m_previewJob, TQT_SIGNAL(failed(const KFileItem*)), this, TQT_SLOT(removePreview(const KFileItem*)) );
+ connect( m_previewJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQ_SLOT(newPreview(const KFileItem*, const TQPixmap&)) );
+ connect( m_previewJob, TQ_SIGNAL(failed(const KFileItem*)), this, TQ_SLOT(removePreview(const KFileItem*)) );
}
}
@@ -1350,8 +1350,8 @@ void LinkContent::startFetchingUrlPreview()
KURL::List urlList;
urlList.append(filteredUrl);
m_previewJob = TDEIO::filePreview(urlList, linkLook->previewSize(), linkLook->previewSize(), linkLook->iconSize());
- connect( m_previewJob, TQT_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQT_SLOT(newPreview(const KFileItem*, const TQPixmap&)) );
- connect( m_previewJob, TQT_SIGNAL(failed(const KFileItem*)), this, TQT_SLOT(removePreview(const KFileItem*)) );
+ connect( m_previewJob, TQ_SIGNAL(gotPreview(const KFileItem*, const TQPixmap&)), this, TQ_SLOT(newPreview(const KFileItem*, const TQPixmap&)) );
+ connect( m_previewJob, TQ_SIGNAL(failed(const KFileItem*)), this, TQ_SLOT(removePreview(const KFileItem*)) );
}
}