Browse Source

Finish renaming knewstuff

This relates to Bug 2093
Timothy Pearson 4 years ago
parent
commit
f6d69d45cf

+ 1
- 1
CMakeLists.txt View File

@@ -1064,7 +1064,7 @@ add_subdirectory( tdestyles )
1064 1064
 add_subdirectory( libtdemid )
1065 1065
 add_subdirectory( libtdescreensaver )
1066 1066
 add_subdirectory( networkstatus )
1067
-add_subdirectory( knewstuff )
1067
+add_subdirectory( tdenewstuff )
1068 1068
 add_subdirectory( tdersync )
1069 1069
 add_subdirectory( licenses )
1070 1070
 add_subdirectory( dnssd )

+ 2
- 2
Mainpage.dox View File

@@ -61,8 +61,8 @@
61 61
 	* - <a target="_top" href="arts/html/index.html"><b>arts</b></a>
62 62
         *   (<a target="_top" href="arts/html/classes.html">classes</a>)\n
63 63
 	*   <i>Trinity bindings for arts including knotify.</i>
64
-	* - <a target="_top" href="knewstuff/html/index.html"><b>knewstuff</b></a>
65
-        *   (<a target="_top" href="knewstuff/html/classes.html">classes</a>)\n
64
+	* - <a target="_top" href="tdenewstuff/html/index.html"><b>tdenewstuff</b></a>
65
+        *   (<a target="_top" href="tdenewstuff/html/classes.html">classes</a>)\n
66 66
 	*   <i>Upload and download of application data.</i>
67 67
 	* - <a target="_top" href="dnssd/html/index.html"><b>dnssd</b></a>
68 68
         *   (<a target="_top" href="dnssd/html/classes.html">classes</a>)\n

+ 1
- 1
configure.in.in View File

@@ -259,7 +259,7 @@ AC_SUBST(LIB_TDEHTML, '$(top_builddir)/tdehtml/libtdehtml.la')
259 259
 AC_SUBST(LIB_TDEPRINT, '$(top_builddir)/tdeprint/libtdeprint.la')
260 260
 AC_SUBST(LIB_TDEPARTS, '$(top_builddir)/tdeparts/libtdeparts.la')
261 261
 AC_SUBST(LIB_KIMGIO, '$(top_builddir)/kimgio/libkimgio.la')
262
-AC_SUBST(LIB_KNEWSTUFF, '$(top_builddir)/knewstuff/libknewstuff.la')
262
+AC_SUBST(LIB_TDENEWSTUFF, '$(top_builddir)/tdenewstuff/libtdenewstuff.la')
263 263
 AC_SUBST(LIB_TDEUNITTEST, '$(top_builddir)/tdeunittest/libtdeunittest.la')
264 264
 case $host in 
265 265
 	*cygwin*) lib_kded='$(top_builddir)/kded/libtdeinit_kded.la' ;;

knewstuff/CMakeLists.txt → tdenewstuff/CMakeLists.txt View File

@@ -32,19 +32,19 @@ install( FILES
32 32
     downloaddialog.h engine.h entry.h knewstuffgeneric.h
33 33
     knewstuff.h providerdialog.h provider.h uploaddialog.h
34 34
     knewstuffbutton.h knewstuffsecure.h
35
-  DESTINATION ${INCLUDE_INSTALL_DIR}/knewstuff )
35
+  DESTINATION ${INCLUDE_INSTALL_DIR}/tdenewstuff )
36 36
 
37 37
 
38 38
 ##### other data ################################
39 39
 
40
-install( FILES types DESTINATION ${DATA_INSTALL_DIR}/knewstuff )
40
+install( FILES types DESTINATION ${DATA_INSTALL_DIR}/tdenewstuff )
41 41
 install( FILES tdehotnewstuffrc DESTINATION ${CONFIG_INSTALL_DIR} )
42 42
 tde_install_icons( )
43 43
 
44 44
 
45
-##### knewstuff #################################
45
+##### tdenewstuff ###############################
46 46
 
47
-set( target knewstuff )
47
+set( target tdenewstuff )
48 48
 
49 49
 set( ${target}_SRCS
50 50
   engine.cpp entry.cpp downloaddialog.cpp uploaddialog.cpp
@@ -70,6 +70,6 @@ set( ${target}_SRCS
70 70
 
71 71
 tde_add_executable( ${target} AUTOMOC
72 72
   SOURCES ${${target}_SRCS}
73
-  LINK knewstuff-shared
73
+  LINK tdenewstuff-shared
74 74
   DESTINATION ${BIN_INSTALL_DIR}
75 75
 )

knewstuff/Mainpage.dox → tdenewstuff/Mainpage.dox View File


knewstuff/Makefile.am → tdenewstuff/Makefile.am View File


knewstuff/README.knewstuff → tdenewstuff/README.knewstuff View File


knewstuff/cr16-action-knewstuff.png → tdenewstuff/cr16-action-knewstuff.png View File


knewstuff/cr32-action-knewstuff.png → tdenewstuff/cr32-action-knewstuff.png View File


knewstuff/cr64-action-knewstuff.png → tdenewstuff/cr64-action-knewstuff.png View File


knewstuff/downloaddialog.cpp → tdenewstuff/downloaddialog.cpp View File

@@ -33,9 +33,9 @@
33 33
 #include <tdeapplication.h>
34 34
 #include <kiconloader.h>
35 35
 
36
-#include <knewstuff/entry.h>
37
-#include <knewstuff/knewstuffgeneric.h>
38
-#include <knewstuff/engine.h>
36
+#include <tdenewstuff/entry.h>
37
+#include <tdenewstuff/knewstuffgeneric.h>
38
+#include <tdenewstuff/engine.h>
39 39
 
40 40
 #include <tqlayout.h>
41 41
 #include <tqpushbutton.h>
@@ -531,6 +531,13 @@ void DownloadDialog::slotInstall()
531 531
   Entry *e = getEntry();
532 532
   if(!e) return;
533 533
 
534
+  TQPushButton *de, *in;
535
+  in = *(m_buttons[d->m_page]->at(0));
536
+  de = *(m_buttons[d->m_page]->at(1));
537
+
538
+  if(in) in->setEnabled(false);
539
+  if(de) de->setEnabled(false);
540
+
534 541
   d->m_lvtmp_r->setEnabled( false );
535 542
   d->m_lvtmp_l->setEnabled( false );
536 543
   d->m_lvtmp_d->setEnabled( false );

knewstuff/downloaddialog.h → tdenewstuff/downloaddialog.h View File

@@ -21,7 +21,7 @@
21 21
 #define KNEWSTUFF_DOWNLOADDIALOG_H
22 22
 
23 23
 #include <kdialogbase.h>
24
-#include <knewstuff/provider.h>
24
+#include <tdenewstuff/provider.h>
25 25
 
26 26
 namespace TDEIO
27 27
 {

knewstuff/engine.cpp → tdenewstuff/engine.cpp View File


knewstuff/engine.h → tdenewstuff/engine.h View File


knewstuff/entry.cpp → tdenewstuff/entry.cpp View File


knewstuff/entry.h → tdenewstuff/entry.h View File


knewstuff/ghns.cpp → tdenewstuff/ghns.cpp View File


knewstuff/ghns.h → tdenewstuff/ghns.h View File


knewstuff/knewstuff.cpp → tdenewstuff/knewstuff.cpp View File


knewstuff/knewstuff.h → tdenewstuff/knewstuff.h View File


knewstuff/knewstuffbutton.cpp → tdenewstuff/knewstuffbutton.cpp View File


knewstuff/knewstuffbutton.h → tdenewstuff/knewstuffbutton.h View File


knewstuff/knewstuffgeneric.cpp → tdenewstuff/knewstuffgeneric.cpp View File


knewstuff/knewstuffgeneric.h → tdenewstuff/knewstuffgeneric.h View File


knewstuff/knewstuffsecure.cpp → tdenewstuff/knewstuffsecure.cpp View File


knewstuff/knewstuffsecure.h → tdenewstuff/knewstuffsecure.h View File


knewstuff/provider.cpp → tdenewstuff/provider.cpp View File

@@ -352,9 +352,9 @@ void ProviderLoader::load( const TQString &type, const TQString &providersList )
352 352
   if ( providersUrl.isEmpty() ) {
353 353
     // TODO: Replace the default by the real one.
354 354
     TQString server = cfg->readEntry( "MasterServer",
355
-                                     "http://korganizer.kde.org" );
355
+                                     "https://www.trinitydesktop.org" );
356 356
   
357
-    providersUrl = server + "/knewstuff/" + type + "/providers.xml";
357
+    providersUrl = server + "/ocs/" + type + "/providers.xml";
358 358
   }
359 359
 
360 360
   kdDebug() << "ProviderLoader::load(): providersUrl: " << providersUrl << endl;

knewstuff/provider.h → tdenewstuff/provider.h View File


knewstuff/providerdialog.cpp → tdenewstuff/providerdialog.cpp View File


knewstuff/providerdialog.h → tdenewstuff/providerdialog.h View File


knewstuff/security.cpp → tdenewstuff/security.cpp View File


knewstuff/security.h → tdenewstuff/security.h View File


knewstuff/tdehotnewstuff.cpp → tdenewstuff/tdehotnewstuff.cpp View File


knewstuff/tdehotnewstuffrc → tdenewstuff/tdehotnewstuffrc View File


knewstuff/testnewstuff.cpp → tdenewstuff/testnewstuff.cpp View File


knewstuff/testnewstuff.h → tdenewstuff/testnewstuff.h View File


knewstuff/types → tdenewstuff/types View File


knewstuff/uploaddialog.cpp → tdenewstuff/uploaddialog.cpp View File


knewstuff/uploaddialog.h → tdenewstuff/uploaddialog.h View File


Loading…
Cancel
Save