[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/work/kde4/kdeaddons/konq-plugins/kimgalleryplugin
From: Laurent Montel <montel () kde ! org>
Date: 2005-06-13 12:17:02
Message-ID: 1118665022.962410.3463.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 424917 by mlaurent:
ByeBye Q3WhatsThis
M +9 -9 imgallerydialog.cpp
--- branches/work/kde4/kdeaddons/konq-plugins/kimgalleryplugin/imgallerydialog.cpp #424916:424917
@@ -23,7 +23,7 @@
#include <q3groupbox.h>
#include <qlayout.h>
#include <qcombobox.h>
-#include <q3whatsthis.h>
+
#include <qcheckbox.h>
#include <qlineedit.h>
#include <qspinbox.h>
@@ -191,21 +191,21 @@
dvlay->addWidget( label );
QString whatsThis;
whatsThis = i18n("<p>The name of the HTML file this gallery will be saved to.");
- Q3WhatsThis::add( label, whatsThis );
+ label->setWhatsThis( whatsThis );
m_imageNameReq = new KURLRequester(path + "images.html", page);
label->setBuddy( m_imageNameReq );
dvlay->addWidget(m_imageNameReq);
connect( m_imageNameReq, SIGNAL(textChanged(const QString&)),
this, SLOT(imageUrlChanged(const QString&)) );
- Q3WhatsThis::add( m_imageNameReq, whatsThis );
+ m_imageNameReq->setWhatsThis( whatsThis );
const bool recurseSubDir = m_config->readBoolEntry("RecurseSubDirectories", false);
m_recurseSubDir = new QCheckBox(i18n("&Recurse subfolders"), page);
m_recurseSubDir->setChecked( recurseSubDir );
whatsThis = i18n("<p>Whether subfolders should be included for the "
"image gallery creation or not.");
- Q3WhatsThis::add( m_recurseSubDir, whatsThis );
+ m_recurseSubDir->setWhatsThis( whatsThis );
const int recursionLevel = m_config->readNumEntry("RecursionLevel", 0);
m_recursionLevel = new KIntNumInput( recursionLevel, page );
@@ -217,7 +217,7 @@
whatsThis = i18n("<p>You can limit the number of folders the "
"image gallery creator will traverse to by setting an "
"upper bound for the recursion depth.");
- Q3WhatsThis::add( m_recursionLevel, whatsThis );
+ m_recursionLevel->setWhatsThis( whatsThis );
connect(m_recurseSubDir, SIGNAL( toggled(bool) ),
@@ -231,7 +231,7 @@
dvlay->addWidget(m_copyOriginalFiles);
whatsThis = i18n("<p>This makes a copy of all images and the gallery will refer "
"to these copies instead of the original images.");
- Q3WhatsThis::add( m_copyOriginalFiles, whatsThis );
+ m_copyOriginalFiles->setWhatsThis( whatsThis );
const bool useCommentFile = m_config->readBoolEntry("UseCommentFile", false);
@@ -244,7 +244,7 @@
"subtitles for the images."
"<p>For details about the file format please see "
"the \"What's This?\" help below.");
- Q3WhatsThis::add( m_useCommentFile, whatsThis );
+ m_useCommentFile->setWhatsThis( whatsThis );
label = new QLabel(i18n("Comments &file:"), page);
label->setEnabled( useCommentFile );
@@ -259,13 +259,13 @@
"<br>Description"
"<br>"
"<br>and so on");
- Q3WhatsThis::add( label, whatsThis );
+ label->setWhatsThis( whatsThis );
m_commentFileReq = new KURLRequester(path + "comments", page);
m_commentFileReq->setEnabled(useCommentFile);
label->setBuddy( m_commentFileReq );
dvlay->addWidget(m_commentFileReq);
- Q3WhatsThis::add( m_commentFileReq, whatsThis );
+ m_commentFileReq->setWhatsThis( whatsThis );
connect(m_useCommentFile, SIGNAL(toggled(bool)),
label, SLOT(setEnabled(bool)));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic