summaryrefslogtreecommitdiffstats
path: root/src/gvcore/deletedialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gvcore/deletedialog.cpp')
-rw-r--r--src/gvcore/deletedialog.cpp30
1 files changed, 15 insertions, 15 deletions
diff --git a/src/gvcore/deletedialog.cpp b/src/gvcore/deletedialog.cpp
index 19c34ba..cc0010e 100644
--- a/src/gvcore/deletedialog.cpp
+++ b/src/gvcore/deletedialog.cpp
@@ -24,14 +24,14 @@
#include <kstdguiitem.h>
#include <kurl.h>
-#include <qstringlist.h>
-#include <qcheckbox.h>
-#include <qlayout.h>
-#include <qlabel.h>
-#include <qtimer.h>
-#include <qvbox.h>
-#include <qhbox.h>
-#include <qpushbutton.h>
+#include <tqstringlist.h>
+#include <tqcheckbox.h>
+#include <tqlayout.h>
+#include <tqlabel.h>
+#include <tqtimer.h>
+#include <tqvbox.h>
+#include <tqhbox.h>
+#include <tqpushbutton.h>
#include "fileoperationconfig.h"
#include "deletedialog.h"
@@ -39,8 +39,8 @@
namespace Gwenview {
-DeleteDialog::DeleteDialog(QWidget *parent, const char *name) :
- KDialogBase(Swallow, WStyle_DialogBorder, parent, name,
+DeleteDialog::DeleteDialog(TQWidget *tqparent, const char *name) :
+ KDialogBase(Swallow, WStyle_DialogBorder, tqparent, name,
true /* modal */, i18n("About to delete selected files"),
Ok | Cancel, Cancel /* Default */, true /* separator */),
m_trashGuiItem(i18n("&Send to Trash"), "trashcan_full")
@@ -55,7 +55,7 @@ DeleteDialog::DeleteDialog(QWidget *parent, const char *name) :
bool deleteInstead = ! FileOperationConfig::deleteToTrash();
m_widget->ddShouldDelete->setChecked(deleteInstead);
- connect(m_widget->ddShouldDelete, SIGNAL(toggled(bool)), SLOT(updateUI()));
+ connect(m_widget->ddShouldDelete, TQT_SIGNAL(toggled(bool)), TQT_SLOT(updateUI()));
}
void DeleteDialog::setURLList(const KURL::List &files)
@@ -79,7 +79,7 @@ void DeleteDialog::accept()
void DeleteDialog::updateUI()
{
- QString msg, iconName;
+ TQString msg, iconName;
int fileCount = m_widget->ddFileList->count();
bool reallyDelete = m_widget->ddShouldDelete->isChecked();
@@ -98,7 +98,7 @@ void DeleteDialog::updateUI()
fileCount);
iconName = "trashcan_full";
}
- QPixmap icon = KGlobal::iconLoader()->loadIcon(iconName, KIcon::NoGroup, KIcon::SizeMedium);
+ TQPixmap icon = KGlobal::iconLoader()->loadIcon(iconName, KIcon::NoGroup, KIcon::SizeMedium);
m_widget->ddDeleteText->setText(msg);
m_widget->ddWarningIcon->setPixmap(icon);
@@ -113,9 +113,9 @@ bool DeleteDialog::shouldDelete() const {
}
-QSize DeleteDialog::sizeHint() const {
+TQSize DeleteDialog::tqsizeHint() const {
m_widget->adjustSize();
- QSize hint = m_widget->minimumSize();
+ TQSize hint = m_widget->tqminimumSize();
hint = calculateSize(hint.width(), hint.height());
// For some reason calculateSize does not return a correct height. As I'm