Commit 404dcdaf authored by Kurt Hindenburg's avatar Kurt Hindenburg

s/KLineEdit/QLineEdit

parent 684fec86
......@@ -63,7 +63,7 @@ ColorSchemeEditor::ColorSchemeEditor(QWidget* aParent)
_ui->setupUi(mainWidget());
// description edit
_ui->descriptionEdit->setClearButtonShown(true);
_ui->descriptionEdit->setClearButtonEnabled(true);
connect(_ui->descriptionEdit , SIGNAL(textChanged(QString)) , this ,
SLOT(setDescription(QString)));
......@@ -78,10 +78,11 @@ ColorSchemeEditor::ColorSchemeEditor(QWidget* aParent)
SLOT(setRandomizedBackgroundColor(bool)));
// wallpaper stuff
KUrlCompletion* fileCompletion = new KUrlCompletion(KUrlCompletion::FileCompletion);
fileCompletion->setParent(this);
_ui->wallpaperPath->setCompletionObject(fileCompletion);
_ui->wallpaperPath->setClearButtonShown(true);
#pragma message("Look at this setCompletionObject again")
// KUrlCompletion* fileCompletion = new KUrlCompletion(KUrlCompletion::FileCompletion);
// fileCompletion->setParent(this);
// _ui->wallpaperPath->setCompletionObject(fileCompletion);
_ui->wallpaperPath->setClearButtonEnabled(true);
_ui->wallpaperSelectButton->setIcon(KIcon("image-x-generic"));
connect(_ui->wallpaperSelectButton, SIGNAL(clicked()),
......
......@@ -27,7 +27,7 @@
</widget>
</item>
<item>
<widget class="KLineEdit" name="descriptionEdit"/>
<widget class="QLineEdit" name="descriptionEdit"/>
</item>
</layout>
</item>
......@@ -85,7 +85,7 @@
</widget>
</item>
<item>
<widget class="KLineEdit" name="wallpaperPath">
<widget class="QLineEdit" name="wallpaperPath">
<property name="toolTip">
<string>Edit the path of the background image</string>
</property>
......@@ -125,11 +125,6 @@
</layout>
</widget>
<customwidgets>
<customwidget>
<class>KLineEdit</class>
<extends>QLineEdit</extends>
<header>klineedit.h</header>
</customwidget>
<customwidget>
<class>KMessageWidget</class>
<extends>QFrame</extends>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment