diff options
author | Timothy Pearson <[email protected]> | 2011-11-06 02:28:57 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-11-06 02:28:57 -0600 |
commit | 7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04 (patch) | |
tree | b7c6396f4f7fe78dcd49424bff707e977541de18 /kicker/menuext/kdeprint/print_mnu.cpp | |
parent | 66c0fa70796c1989a9f3adb0c5c0ad799ade48ca (diff) | |
download | tdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.tar.gz tdebase-7574a7287e2e121c9d5c91a5f4ea38c5b3ae2a04.zip |
Additional kde to tde renaming
Diffstat (limited to 'kicker/menuext/kdeprint/print_mnu.cpp')
-rw-r--r-- | kicker/menuext/kdeprint/print_mnu.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/kicker/menuext/kdeprint/print_mnu.cpp b/kicker/menuext/kdeprint/print_mnu.cpp index eb2dbd8ab..dee220d80 100644 --- a/kicker/menuext/kdeprint/print_mnu.cpp +++ b/kicker/menuext/kdeprint/print_mnu.cpp @@ -27,10 +27,10 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <kglobal.h> #include <kapplication.h> #include <krun.h> -#include <kdeprint/kmmanager.h> +#include <tdeprint/kmmanager.h> #include <tqregexp.h> -K_EXPORT_KICKER_MENUEXT(kdeprint, PrintMenu) +K_EXPORT_KICKER_MENUEXT(tdeprint, PrintMenu) #define ADD_PRINTER_ID 0 #define KDEPRINT_SETTINGS_ID 1 @@ -43,10 +43,10 @@ K_EXPORT_KICKER_MENUEXT(kdeprint, PrintMenu) PrintMenu::PrintMenu(TQWidget *parent, const char *name, const TQStringList & /*args*/) : KPanelMenu("", parent, name) { - static bool kdeprintIconsInitialized = false; - if ( !kdeprintIconsInitialized ) { - KGlobal::iconLoader()->addAppDir("kdeprint"); - kdeprintIconsInitialized = true; + static bool tdeprintIconsInitialized = false; + if ( !tdeprintIconsInitialized ) { + KGlobal::iconLoader()->addAppDir("tdeprint"); + tdeprintIconsInitialized = true; } } @@ -65,9 +65,9 @@ void PrintMenu::initialize() if ((KMManager::self()->printerOperationMask() & KMManager::PrinterCreation) && KMManager::self()->hasManagement()) insertItem(SmallIconSet("wizard"), i18n("Add Printer..."), ADD_PRINTER_ID); - insertItem(SmallIconSet("kdeprint_configmgr"), i18n("KDE Print Settings"), KDEPRINT_SETTINGS_ID); + insertItem(SmallIconSet("tdeprint_configmgr"), i18n("KDE Print Settings"), KDEPRINT_SETTINGS_ID); if (KMManager::self()->serverOperationMask() & KMManager::ServerConfigure) - insertItem(SmallIconSet("kdeprint_configsrv"), i18n("Configure Server"), CONFIG_SERVER_ID); + insertItem(SmallIconSet("tdeprint_configsrv"), i18n("Configure Server"), CONFIG_SERVER_ID); insertSeparator(); insertItem(SmallIconSet("kcontrol"), i18n("Print Manager"), PRINT_MANAGER_ID); insertItem(SmallIconSet("konqueror"), i18n("Print Browser (Konqueror)"), PRINT_BROWSER_ID); @@ -103,13 +103,13 @@ void PrintMenu::slotExec(int ID) switch (ID) { case ADD_PRINTER_ID: - kapp->kdeinitExec("kaddprinterwizard"); + kapp->tdeinitExec("kaddprinterwizard"); break; case KDEPRINT_SETTINGS_ID: - kapp->kdeinitExec("kaddprinterwizard", TQStringList("--kdeconfig")); + kapp->tdeinitExec("kaddprinterwizard", TQStringList("--kdeconfig")); break; case CONFIG_SERVER_ID: - kapp->kdeinitExec("kaddprinterwizard", TQStringList("--serverconfig")); + kapp->tdeinitExec("kaddprinterwizard", TQStringList("--serverconfig")); break; case PRINT_MANAGER_ID: KRun::runCommand("kcmshell kde-printers.desktop"); @@ -118,14 +118,14 @@ void PrintMenu::slotExec(int ID) KRun::runCommand("kfmclient openProfile filemanagement print:/", "kfmclient", "konqueror"); break; case KPRINTER_ID: - kapp->kdeinitExec("kprinter"); + kapp->tdeinitExec("kprinter"); break; default: { // start kjobviewer TQStringList args; args << "--show" << "-d" << text(ID).remove('&'); - kapp->kdeinitExec("kjobviewer", args); + kapp->tdeinitExec("kjobviewer", args); } break; } |