[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/4.0/kdebase/runtime/renamedlgplugins/audio
From: Andras Mantia <amantia () kde ! org>
Date: 2008-01-29 9:49:27
Message-ID: 1201600167.544302.26928.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 768073 by amantia:
Backport: use KSqueexedTextLabel to show the file url.
M +3 -2 audio_plugin.cpp
--- branches/KDE/4.0/kdebase/runtime/renamedlgplugins/audio/audio_plugin.cpp #768072:768073
@@ -20,6 +20,7 @@
*/
#include <kgenericfactory.h>
+#include <ksqueezedtextlabel.h>
#include <kio/renamedialogplugin.h>
#include <qlabel.h>
#include <qdialog.h>
@@ -58,9 +59,9 @@
void AudioPlugin::handle( KIO::RenameDialog_Mode mode, const KIO::RenameDialogPlugin::FileItem& src,
const KIO::RenameDialogPlugin::FileItem& dst ) {
+
QGridLayout *lay = new QGridLayout( this );
if( mode & KIO::M_OVERWRITE ){
- QLabel *label_head = new QLabel(this);
QLabel *label_src = new QLabel(this);
QLabel *label_dst = new QLabel(this);
QLabel *label_ask = new QLabel(this);
@@ -73,7 +74,7 @@
sentence1 = i18n("A similar file named '%1' already exists.\n", dest);
else
sentence1 = i18n("A newer file named '%1' already exists.\n", dest);
- label_head->setText(sentence1);
+ QLabel *label_head = new KSqueezedTextLabel(sentence1, this);
label_src->setText(i18n("Source File"));
label_dst->setText(i18n("Existing File"));
label_ask->setText(i18n("Would you like to replace the existing file with the one on the right?") );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic