Compare commits

...

73 Commits

Author SHA1 Message Date
Slávek Banko dd1a609508
Remove cmake submodule since it has now been replaced by cmake-trinity dependency. 7 months ago
TDE Gitea aa3de75644 Reset submodule main/applications/potracegui/cmake to latest HEAD 8 months ago
TDE Gitea ca2e9ee958 Reset submodule main/applications/potracegui/cmake to latest HEAD 11 months ago
TDE Gitea 867c4ec0e9 Reset submodule main/applications/potracegui/cmake to latest HEAD 12 months ago
TDE Gitea 5ef1840f08 Reset submodule main/applications/potracegui/cmake to latest HEAD 12 months ago
TDE Gitea 4fb9b35d48 Reset submodule main/applications/potracegui/admin to latest HEAD 12 months ago
TDE Gitea 3864c68833 Reset submodule main/applications/potracegui/cmake to latest HEAD 1 year ago
TDE Gitea 3841385257 Reset submodule main/applications/potracegui/cmake to latest HEAD 1 year ago
TDE Gitea 85bfcbfc0d Reset submodule main/applications/potracegui/admin to latest HEAD 1 year ago
TDE Gitea c2fb27fa45 Reset submodule main/applications/potracegui/cmake to latest HEAD 1 year ago
TDE Gitea 17e5c97d8a Reset submodule main/applications/potracegui/admin to latest HEAD 1 year ago
TDE Gitea 32af2b7651 Reset submodule main/applications/potracegui/cmake to latest HEAD 1 year ago
TDE Gitea 164e5a8199 Reset submodule main/applications/potracegui/admin to latest HEAD 1 year ago
TDE Gitea 47110904f0 Reset submodule main/applications/potracegui/cmake to latest HEAD 1 year ago
TDE Gitea 6d5ffe4036 Reset submodule main/applications/potracegui/admin to latest HEAD 1 year ago
TDE Gitea e444d27001 Reset submodule main/applications/potracegui/cmake to latest HEAD 1 year ago
TDE Gitea 90748d69ef Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 9bba0b5c36 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea a2a963c258 Reset submodule main/applications/potracegui/admin to latest HEAD 2 years ago
TDE Gitea 0b0112ae7b Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea d8f3131ff9 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 0d78cc66a1 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 57d6c3c072 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 2a9c0cccd9 Reset submodule main/applications/potracegui/admin to latest HEAD 2 years ago
TDE Gitea 45356d06e8 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 6f23cf2085 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 2d9b5a8c5f Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea aa9d463d03 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 6fe27552a6 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 15b62beff2 Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 7452ef611f Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 6cacf680ae Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
TDE Gitea 3a1209ebfa Reset submodule main/applications/potracegui/cmake to latest HEAD 2 years ago
Slávek Banko 2e1b2f703f
Switch all submodules to https. 2 years ago
TDE Gitea 1131920b05 Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea ea1e06ce91 Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 6699cbe4bc Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 9a3566e7b0 Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea a005a6c121 Reset submodule main/applications/potracegui/admin to latest HEAD 3 years ago
TDE Gitea 02cb81d8d9 Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 18c757e3f1 Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 502abd902b Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 0250dbd14e Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 2b7d96e68f Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea aca7554b87 Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 8245692e8d Reset submodule main/applications/potracegui/admin to latest HEAD 3 years ago
TDE Gitea deb426f90f Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 6eb74282cf Reset submodule main/applications/potracegui/cmake to latest HEAD 3 years ago
TDE Gitea 2b0205c948 Reset submodule main/applications/potracegui/admin to latest HEAD 3 years ago
Slávek Banko 805c3c4dfc Reset submodule main/applications/potracegui/admin to latest HEAD 4 years ago
Slávek Banko 5d4d66ac3e Reset submodule main/applications/potracegui/admin to latest HEAD 4 years ago
Slávek Banko f30824180c Reset submodule main/applications/potracegui/admin to latest HEAD 4 years ago
Slávek Banko e8e5e83b68 Reset submodule main/applications/potracegui/cmake to latest HEAD 5 years ago
Slávek Banko 496f72c8e0 Reset submodule main/applications/potracegui/admin to latest HEAD 6 years ago
Slávek Banko e71479d3d0 Reset submodule main/applications/potracegui/cmake to latest HEAD 6 years ago
Slávek Banko 25f2853fc2 Reset submodule main/applications/potracegui/admin to latest HEAD 6 years ago
Slávek Banko 3d6a178cf7 Reset submodule main/applications/potracegui/admin to latest HEAD 9 years ago
Slávek Banko 5cb128471a Reset submodule main/applications/potracegui/admin to latest HEAD 9 years ago
Slávek Banko e87310563b Reset submodule main/applications/potracegui/cmake to latest HEAD 9 years ago
Slávek Banko 78ab96e71f Reset submodule main/applications/potracegui/cmake to latest HEAD 9 years ago
Slávek Banko 3f2d9fd711 Reset submodule main/applications/potracegui/cmake to latest HEAD 9 years ago
Slávek Banko 45668179d3 Reset submodule main/applications/potracegui/cmake to latest HEAD 9 years ago
Slávek Banko b6857d8edc Reset submodule main/applications/potracegui/admin to latest HEAD 9 years ago
Slávek Banko cac2251422 Reset submodule main/applications/potracegui/cmake to latest HEAD 9 years ago
Slávek Banko cc4e112936 Reset submodule main/applications/potracegui/cmake to latest HEAD 9 years ago
Slávek Banko e1212c2160 Reset submodule main/applications/potracegui/admin to latest HEAD 9 years ago
Slávek Banko 8ab493894e Update final HTML install path so all modules are consistent. 9 years ago
Darrell Anderson 8d860d39d3 Update HTML install path references. 10 years ago
Darrell Anderson 3a008edfb2 Minor fixes in desktop file. 10 years ago
Timothy Pearson 017995b45f Rename obsolete tq methods to standard names 10 years ago
Timothy Pearson 55f7ca24b7 Remove additional unneeded tq method conversions 10 years ago
Timothy Pearson 5fac98039f Rename old tq methods that no longer need a unique name 10 years ago
Slávek Banko ca15a44533 Add common directories 10 years ago
  1. 3
      .gitmodules
  2. 4
      acinclude.m4
  3. 1
      admin
  4. 62
      src/MainWidgetBase.ui
  5. 28
      src/mainwidget.cpp
  6. 4
      src/potracegui.desktop

3
.gitmodules

@ -0,0 +1,3 @@
[submodule "admin"]
path = admin
url = https://system@scm.trinitydesktop.org/scm/git/tde-common-admin

4
acinclude.m4

@ -428,7 +428,7 @@ AC_DEFUN([KDE_SET_DEFAULT_PATHS],
if test "$1" = "default"; then
if test -z "$kde_htmldir"; then
kde_htmldir='\${datadir}/doc/HTML'
kde_htmldir='\${datadir}/doc/tde/HTML'
fi
if test -z "$kde_appsdir"; then
kde_appsdir='\${datadir}/applnk'
@ -4555,7 +4555,7 @@ AC_DEFUN([KDE_SET_PREFIX_CORE],
fi
# And delete superfluous '/' to make compares easier
prefix=`echo "$prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
kde_libs_htmldir=$prefix/share/doc/HTML/
kde_libs_htmldir=$prefix/share/doc/tde/HTML/
exec_prefix=`echo "$exec_prefix" | sed 's,//*,/,g' | sed -e 's,/$,,'`
AC_SUBST(kde_libs_htmldir)
KDE_FAST_CONFIGURE

1
admin

@ -0,0 +1 @@
Subproject commit 5bf424d9d8a3a8c3a894d6540ae164a42d2c25a5

62
src/MainWidgetBase.ui

@ -37,7 +37,7 @@
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="tqmaximumSize">
<property name="maximumSize">
<size>
<width>800</width>
<height>600</height>
@ -59,7 +59,7 @@
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout7</cstring>
<cstring>layout7</cstring>
</property>
<vbox>
<property name="name">
@ -588,7 +588,7 @@ PostScript</string>
</property>
<widget class="TQLayoutWidget" row="0" column="0">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<vbox>
<property name="name">
@ -620,7 +620,7 @@ PostScript</string>
</widget>
<widget class="TQLayoutWidget" row="0" column="1">
<property name="name">
<cstring>tqlayout4</cstring>
<cstring>layout4</cstring>
</property>
<grid>
<property name="name">
@ -735,7 +735,7 @@ PostScript</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@ -752,7 +752,7 @@ PostScript</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@ -769,7 +769,7 @@ PostScript</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@ -786,7 +786,7 @@ PostScript</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@ -806,7 +806,7 @@ PostScript</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@ -836,7 +836,7 @@ PostScript</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>297</height>
@ -1092,7 +1092,7 @@ decomposition</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
@ -1109,7 +1109,7 @@ decomposition</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
@ -1154,7 +1154,7 @@ decomposition</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
@ -1195,7 +1195,7 @@ decomposition</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>80</width>
<height>31</height>
@ -1405,7 +1405,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>40</height>
@ -1435,7 +1435,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>270</height>
@ -1579,7 +1579,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@ -1596,7 +1596,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@ -1613,7 +1613,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@ -1630,7 +1630,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>71</width>
<height>21</height>
@ -1950,7 +1950,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>30</height>
@ -2100,7 +2100,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>20</height>
@ -2342,7 +2342,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>110</height>
@ -2446,7 +2446,7 @@ pixels in the input</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout6</cstring>
<cstring>layout6</cstring>
</property>
<hbox>
<property name="name">
@ -2462,7 +2462,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@ -2513,7 +2513,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>40</width>
<height>20</height>
@ -2532,7 +2532,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>20</width>
<height>16</height>
@ -2541,7 +2541,7 @@ pixels in the input</string>
</spacer>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout3</cstring>
<cstring>layout3</cstring>
</property>
<hbox>
<property name="name">
@ -2557,7 +2557,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>113</width>
<height>20</height>
@ -2585,7 +2585,7 @@ pixels in the input</string>
<property name="sizeType">
<enum>Expanding</enum>
</property>
<property name="tqsizeHint">
<property name="sizeHint">
<size>
<width>60</width>
<height>20</height>
@ -2607,7 +2607,7 @@ pixels in the input</string>
</widget>
<widget class="TQLayoutWidget">
<property name="name">
<cstring>tqlayout2</cstring>
<cstring>layout2</cstring>
</property>
<hbox>
<property name="name">

28
src/mainwidget.cpp

@ -140,7 +140,7 @@ void MainWidget::fileSave() {
{
int res;
if(TQFile::exists(saveFilename))
res=KMessageBox::warningYesNo(this, i18n("Overwrite %1 ?").tqarg(saveFilename));
res=KMessageBox::warningYesNo(this, i18n("Overwrite %1 ?").arg(saveFilename));
else
{
salva=true;
@ -165,14 +165,14 @@ void MainWidget::fileSave() {
emit signalChangeStatusbar(i18n(i18n("Error while saving file")));
return;
}
emit signalChangeStatusbar(i18n("Saving %1...").tqarg(m_outputFilename));
emit signalChangeStatusbar(i18n("Saving %1...").arg(m_outputFilename));
char ch;
while(in.get(ch))
out.put(ch);
in.close();
out.close();
m_changed=false;
emit signalChangeStatusbar(i18n("File %1 saved.").tqarg(m_outputFilename));
emit signalChangeStatusbar(i18n("File %1 saved.").arg(m_outputFilename));
}
else
emit signalChangeStatusbar(i18n("File not saved"));
@ -186,14 +186,14 @@ void MainWidget::fileSave() {
emit signalChangeStatusbar(i18n("Error while saving file"));
return;
}
emit signalChangeStatusbar(i18n("Saving %1...").tqarg(m_outputFilename));
emit signalChangeStatusbar(i18n("Saving %1...").arg(m_outputFilename));
char ch;
while(in.get(ch))
out.put(ch);
in.close();
out.close();
emit signalChangeStatusbar(i18n("File %1 saved.").tqarg(m_outputFilename));
emit signalChangeStatusbar(i18n("File %1 saved.").arg(m_outputFilename));
m_changed=false;
}
}
@ -226,7 +226,7 @@ void MainWidget::fileSaveAs() {
{
int res;
if(TQFile::exists(saveFilename))
res=KMessageBox::warningYesNo(this,i18n("Overwrite %1 ?").tqarg(saveFilename));
res=KMessageBox::warningYesNo(this,i18n("Overwrite %1 ?").arg(saveFilename));
else
{
salva=true;
@ -251,14 +251,14 @@ void MainWidget::fileSaveAs() {
emit signalChangeStatusbar(i18n("Error while saving file"));
return;
}
emit signalChangeStatusbar(i18n("Saving %1...").tqarg(m_outputFilename));
emit signalChangeStatusbar(i18n("Saving %1...").arg(m_outputFilename));
char ch;
while(in.get(ch))
out.put(ch);
in.close();
out.close();
m_changed=false;
emit signalChangeStatusbar(i18n("File %1 saved.").tqarg(m_outputFilename));
emit signalChangeStatusbar(i18n("File %1 saved.").arg(m_outputFilename));
}
else
emit signalChangeStatusbar(i18n("File not saved"));
@ -286,7 +286,7 @@ void MainWidget::fileClose() {
void MainWidget::cut() {
if(originalLabel->pixmap()!=0)
{
TQApplication::tqclipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
TQApplication::clipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
fileClose();
}
}
@ -294,12 +294,12 @@ void MainWidget::cut() {
void MainWidget::copy() {
if(originalLabel->pixmap()!=0)
{
TQApplication::tqclipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
TQApplication::clipboard()->setPixmap(TQPixmap(*(originalLabel->pixmap())));
}
}
void MainWidget::paste() {
TQPixmap clip=TQApplication::tqclipboard()->pixmap();
TQPixmap clip=TQApplication::clipboard()->pixmap();
if(!clip.isNull())
{
if(!createTmpFilename())
@ -309,7 +309,7 @@ void MainWidget::paste() {
}
m_outputFilename="";
TQPixmap pix(TQApplication::tqclipboard()->pixmap());
TQPixmap pix(TQApplication::clipboard()->pixmap());
originalLabel->clear();
originalLabel->setGeometry(0,0,pix.width(),pix.height());
originalLabel->setPixmap(pix);
@ -366,7 +366,7 @@ void MainWidget::getImageFromURL(KURL url) {
previewLabel->clear();
previewLabel->setGeometry(0,0,10,10);
imagesTabs->setCurrentPage(0);
emit signalChangeStatusbar(i18n("File %1 loaded.").tqarg(filename));
emit signalChangeStatusbar(i18n("File %1 loaded.").arg(filename));
if (!url.isLocalFile())
KIO::NetAccess::removeTempFile(filename);
@ -879,7 +879,7 @@ void MainWidget::tracerExited() {
setCursor(ArrowCursor);
return;
}
if(tracer.exitqStatus()!=0)
if(tracer.exitStatus()!=0)
{
emit(signalChangeStatusbar(i18n("Finished with errors")));
TQString tmp(i18n("Error during the process:"));

4
src/potracegui.desktop

@ -1,7 +1,8 @@
[Desktop Entry]
Encoding=UTF-8
Name=potracegui
Name=Potracegui
Name[xx]=xxpotraceguixx
GenericName=Bitmap Tracing
Exec=potracegui
Icon=potracegui
Type=Application
@ -25,3 +26,4 @@ Comment[sv]=Ett enkelt KDE-program
Comment[ta]=ஒரு சாஅதரன கெடி பயன்பாடு
Comment[xx]=xxA simple KDE Applicationxx
Comment[zh_CN]=一个简单的KDE应用程序
Categories=Qt;KDE;Graphics;

Loading…
Cancel
Save