[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/filelight/src
From: Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date: 2009-05-29 22:44:38
Message-ID: 1243637078.837823.26293.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 975348 by sandsmark:
fix some krazy warnings
M +0 -1 app/mainWindow.cpp
M +1 -1 part/dialog.ui
M +1 -1 part/localLister.cpp
M +4 -2 part/settingsDialog.cpp
M +1 -1 part/settingsDialog.h
--- trunk/playground/utils/filelight/src/app/mainWindow.cpp #975347:975348
@@ -177,7 +177,6 @@
inline void MainWindow::configToolbars() //slot
{
KEditToolBar dialog(factory(), this);
- // dialog.showButtonApply(false); //TODO: Is this still needed?
if (dialog.exec())
{
--- trunk/playground/utils/filelight/src/part/dialog.ui #975347:975348
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
<class>Dialog</class>
- <widget class="QDialog" name="Dialog">
+ <widget class="KDialog" name="Dialog">
<property name="geometry">
<rect>
<x>0</x>
--- trunk/playground/utils/filelight/src/part/localLister.cpp #975347:975348
@@ -75,7 +75,7 @@
Directory *tree = scan(path, path);
//delete the list of trees useful for this scan,
- //in a sucessful scan the contents would now be transfered to 'tree'
+ //in a sucessful scan the contents would now be transferred to 'tree'
delete m_trees;
if (ScanManager::s_abort) //scan was cancelled
--- trunk/playground/utils/filelight/src/part/settingsDialog.cpp #975347:975348
@@ -36,8 +36,10 @@
#include <QVBoxLayout>
#include <QCloseEvent>
-SettingsDialog::SettingsDialog(QWidget *parent) : QDialog(parent)
+SettingsDialog::SettingsDialog(QWidget *parent) : KDialog(parent)
{
+ setButtons(0);//TODO, use the kdialog buttons
+
setupUi(this);
QVBoxLayout *vbox = new QVBoxLayout;
//colourSchemeGroup->setFrameShape(QFrame::NoFrame);
@@ -232,7 +234,7 @@
{
//called when escape is pressed
reset();
- QDialog::reject(); //**** doesn't change back scheme so far
+ KDialog::reject(); //**** doesn't change back scheme so far
}
#include "settingsDialog.moc"
--- trunk/playground/utils/filelight/src/part/settingsDialog.h #975347:975348
@@ -28,7 +28,7 @@
#include <QCloseEvent>
-class SettingsDialog : public QDialog, public Ui::Dialog
+class SettingsDialog : public KDialog, public Ui::Dialog
{
Q_OBJECT
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic