diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 10:47:46 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-24 22:32:24 +0900 |
commit | f9893e5b16c7694da25e60805fe751691e127e85 (patch) | |
tree | 2b204fdab8798eaed0346d1b24bb646c6c89085c /kexi/widget/pixmapcollection.cpp | |
parent | 8263fdf7603821cad365e436ab78557f40a9e9db (diff) | |
download | koffice-f9893e5b16c7694da25e60805fe751691e127e85.tar.gz koffice-f9893e5b16c7694da25e60805fe751691e127e85.zip |
Replaced various '#define' with actual strings - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit dcc4dc7a89e5f5f7fb4217815b892f4b0106d5a0)
Diffstat (limited to 'kexi/widget/pixmapcollection.cpp')
-rw-r--r-- | kexi/widget/pixmapcollection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kexi/widget/pixmapcollection.cpp b/kexi/widget/pixmapcollection.cpp index 3ad9e556..9248916c 100644 --- a/kexi/widget/pixmapcollection.cpp +++ b/kexi/widget/pixmapcollection.cpp @@ -60,7 +60,7 @@ PixmapCollection::addPixmapPath(const KURL &url) name += "2"; } - m_pixmaps.insert(name, tqMakePair(url.path(), 0)); + m_pixmaps.insert(name, qMakePair(url.path(), 0)); return name; } @@ -78,7 +78,7 @@ PixmapCollection::addPixmapName(const TQString &icon, int size) name += "2"; } - m_pixmaps.insert(name, tqMakePair(icon, size)); + m_pixmaps.insert(name, qMakePair(icon, size)); return name; } @@ -144,7 +144,7 @@ PixmapCollection::load(TQDomNode node) for(TQDomNode n = node.firstChild(); !n.isNull(); n = n.nextSibling()) { TQDomElement el = n.toElement(); - TQPair<TQString, int> pair = tqMakePair(el.text(), el.attribute("size").toInt()); + TQPair<TQString, int> pair = qMakePair(el.text(), el.attribute("size").toInt()); m_pixmaps[el.attribute("name")] = pair; } } |