[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: playground/utils/gwenrename
From: Spiros Georgaras <sngeorgaras () otenet ! gr>
Date: 2008-03-02 13:43:53
Message-ID: 1204465433.477069.18823.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 781273 by sngeorgaras:
removing dublicate icons, fixing version string
M +3 -3 doc/en/index.docbook
M +1 -1 main.cpp
M +0 -2 multiselecttool.ui.h
M +10 -24 rename.ui.h
M +0 -3 timestamp.ui.h
--- trunk/playground/utils/gwenrename/doc/en/index.docbook #781272:781273
@@ -1,6 +1,6 @@
<?xml version="1.0" ?>
<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1.2-Based Variant V1.1//EN" \
"dtd/kdex.dtd" [
- <!ENTITY GwenRename "<application>GwenRename 1.1-beta4pre</application>">
+ <!ENTITY GwenRename "<application>GwenRename 1.1-beta4</application>">
<!ENTITY kappname "GwenRename"><!-- Do *not* replace kappname-->
<!ENTITY package "playground-utils"><!-- kdebase, kdeadmin, etc -->
<!ENTITY % addindex "IGNORE">
@@ -31,8 +31,8 @@
<legalnotice>&FDLNotice;</legalnotice>
-<date>2008-03-01</date>
-<releaseinfo>0.6</releaseinfo>
+<date>2008-03-02</date>
+<releaseinfo>0.7</releaseinfo>
<abstract>
<para>
--- trunk/playground/utils/gwenrename/main.cpp #781272:781273
@@ -57,7 +57,7 @@
static const char description[] =
I18N_NOOP("A batch renaming tool for KDE");
-static const char version[] = "1.1-beta4pre";
+static const char version[] = "1.1-beta4";
static KCmdLineOptions options[] ={
{"disableProfiles",I18N_NOOP("Disable profiles"), 0},
--- trunk/playground/utils/gwenrename/multiselecttool.ui.h #781272:781273
@@ -34,9 +34,7 @@
editRegExp->setEnabled(false);
}
//Icon sets
-// buttonOk->setIconSet(QIconSet(ic.Icon(12)));
buttonOk->setIconSet(QIconSet(ic.Icon(6)));
-// buttonCancel->setIconSet(QIconSet(ic.Icon(13)));
buttonCancel->setIconSet(QIconSet(ic.Icon(7)));
buttonHelp->setIconSet(QIconSet(ic.Icon(16)));
setCaption(caption()+" - GwenRename");
--- trunk/playground/utils/gwenrename/rename.ui.h #781272:781273
@@ -142,23 +142,19 @@
prLoad->setPixmap(ic.Icon(3));
prNew->setPixmap(ic.Icon(4));
prEdit->setPixmap(ic.Icon(5));
-// prSave->setPixmap(ic.Icon(12));
prSave->setPixmap(ic.Icon(6));
-// prDelete->setPixmap(ic.Icon(13));
- prSave->setPixmap(ic.Icon(7));
+ prDelete->setPixmap(ic.Icon(7));
reRandomize->setPixmap(ic.Icon(8));
partName->setPixmap(ic.Icon(10));
pPartName->setPixmap(ic.Icon(10));
sPartName->setPixmap(ic.Icon(10));
btNewExt->setPixmap(ic.Icon(4));
-// btSaveExt->setPixmap(ic.Icon(12));
btSaveExt->setPixmap(ic.Icon(6));
-// btDelExt->setPixmap(ic.Icon(13));
- btSaveExt->setPixmap(ic.Icon(7));
+ btDelExt->setPixmap(ic.Icon(7));
//Icon sets
- buttonOk->setIconSet(QIconSet(ic.Icon(12)));
- buttonCancel->setIconSet(QIconSet(ic.Icon(13)));
+ buttonOk->setIconSet(QIconSet(ic.Icon(6)));
+ buttonCancel->setIconSet(QIconSet(ic.Icon(7)));
buttonAbout->setIconSet(QIconSet(ic.Icon(15)));
clearSuffix->setIconSet(QIconSet(ic.Icon(11)));
clearPrefix->setIconSet(QIconSet(ic.Icon(11)));
@@ -2273,15 +2269,9 @@
picture=QStringList("16x16/actions/locationbar_erase.png");
picture+="gwenrename/icons/hicolor/16x16/actions/locationbar_erase.png";
if(ic.loadIcon(picture,11)==-1) errorExists++;
- picture=QStringList("16x16/actions/button_ok.png");
- picture+="16x16/actions/ok.png";
- picture+="16x16/actions/apply.png";
- picture+="gwenrename/icons/hicolor/16x16/actions/button_ok.png";
+ picture=QStringList("gwenrename/icons/hicolor/16x16/actions/all-type-items.png");
if(ic.loadIcon(picture,12)==-1) errorExists++;
- picture=QStringList("16x16/actions/button_cancel.png");
- picture+="16x16/actions/no.png";
- picture+="16x16/actions/remove.png";
- picture+="gwenrename/icons/hicolor/16x16/actions/button_cancel.png";
+ picture=QStringList("gwenrename/icons/hicolor/16x16/actions/all-items.png");
if( ic.loadIcon(picture,13)==-1) errorExists++;
picture=QStringList("16x16/actions/stop.png");
picture+="16x16/actions/no.png";
@@ -2300,13 +2290,9 @@
picture=QStringList("16x16/actions/undo.png");
picture+="gwenrename/icons/hicolor/16x16/actions/undo.png";
if( ic.loadIcon(picture,17)==-1) errorExists++;
- picture=QStringList("gwenrename/icons/hicolor/16x16/actions/all-items.png");
- if( ic.loadIcon(picture,18)==-1) errorExists++;
- picture=QStringList("gwenrename/icons/hicolor/16x16/actions/all-type-items.png");
- if( ic.loadIcon(picture,19)==-1) errorExists++;
picture=QStringList("16x16/actions/filefind.png");
picture+="gwenrename/icons/hicolor/16x16/actions/filefind.png";
- if( ic.loadIcon(picture,20)==-1) errorExists++;
+ if( ic.loadIcon(picture,18)==-1) errorExists++;
if(errorExists==1) exitError(2);
else if(errorExists>1) exitError(3);
@@ -2434,11 +2420,11 @@
popM->insertItem(ic.Icon(8),i18n("Create list from \
selection"),this,SLOT(ListFromSelection())); if (rShow->isChecked()){
popM->insertTitle(i18n("Selection management"));
- popM->insertItem(ic.Icon(18),i18n("All items"),this,SLOT(mnuSelectAll()));
- itemsOfSelectedType=popM->insertItem(ic.Icon(19),i18n("All items of selected \
type"),this,SLOT(mnuSelectByType())); + popM->insertItem(ic.Icon(13),i18n("All \
items"),this,SLOT(mnuSelectAll())); \
+ itemsOfSelectedType=popM->insertItem(ic.Icon(12),i18n("All items of selected \
type"),this,SLOT(mnuSelectByType()));
popM->insertItem(ic.Icon(17),i18n("Invert current \
selection"),this,SLOT(mnuInvertSelection()));
popM->insertItem(ic.Icon(8),i18n("Create selection from \
list"),this,SLOT(SelectionFromList()));
- popM->insertItem(ic.Icon(20),i18n("Items containing a \
string"),this,SLOT(mnuShowSelectionDialog())); \
+ popM->insertItem(ic.Icon(18),i18n("Items containing a \
string"),this,SLOT(mnuShowSelectionDialog())); }
popM->insertTitle(i18n("Help"));
popM->insertItem(ic.Icon(15),i18n("Show help"),this,SLOT(showHelp()));
--- trunk/playground/utils/gwenrename/timestamp.ui.h #781272:781273
@@ -119,16 +119,13 @@
kFormat->insertItem( i18n("Other...") );
kFormat->setSizeLimit(kFormat->count());
//Icon sets
-// buttonOk->setIconSet(QIconSet(ic.Icon(12)));
buttonOk->setIconSet(QIconSet(ic.Icon(6)));
-// buttonCancel->setIconSet(QIconSet(ic.Icon(13)));
buttonCancel->setIconSet(QIconSet(ic.Icon(7)));
buttonHelp->setIconSet(QIconSet(ic.Icon(16)));
clearTxtFormat->setIconSet(QIconSet(ic.Icon(11)));
if(!checkFormat(tFormatDate)) GFormat->setEnabled(FALSE);
else getExampleDate();
readConfig( historyIndex );
-// QRect rect=geometry(); rect.setRight(10); rect.setHeight(10); \
setGeometry(rect); rCreationChanged(1);
}
//================================
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic