diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:33:34 +0000 |
commit | c663b6440964f6ac48027143ac9e63298991f9d0 (patch) | |
tree | 6d8b0c5a5f9db1ee16acf98b1397cea9126b281d /kicker/menuext/kdeprint | |
parent | a061f7191beebb0e4a3b0c0a7c534ec5f22f2dc7 (diff) | |
download | tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.tar.gz tdebase-c663b6440964f6ac48027143ac9e63298991f9d0.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1157639 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kicker/menuext/kdeprint')
-rw-r--r-- | kicker/menuext/kdeprint/print_mnu.cpp | 14 | ||||
-rw-r--r-- | kicker/menuext/kdeprint/print_mnu.h | 2 |
2 files changed, 8 insertions, 8 deletions
diff --git a/kicker/menuext/kdeprint/print_mnu.cpp b/kicker/menuext/kdeprint/print_mnu.cpp index 8b2679432..eb2dbd8ab 100644 --- a/kicker/menuext/kdeprint/print_mnu.cpp +++ b/kicker/menuext/kdeprint/print_mnu.cpp @@ -28,7 +28,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #include <kapplication.h> #include <krun.h> #include <kdeprint/kmmanager.h> -#include <qregexp.h> +#include <tqregexp.h> K_EXPORT_KICKER_MENUEXT(kdeprint, PrintMenu) @@ -40,7 +40,7 @@ K_EXPORT_KICKER_MENUEXT(kdeprint, PrintMenu) #define KPRINTER_ID 5 #define PRINTER_LIST_ID 10 -PrintMenu::PrintMenu(QWidget *parent, const char *name, const QStringList & /*args*/) +PrintMenu::PrintMenu(TQWidget *parent, const char *name, const TQStringList & /*args*/) : KPanelMenu("", parent, name) { static bool kdeprintIconsInitialized = false; @@ -75,11 +75,11 @@ void PrintMenu::initialize() insertItem(SmallIconSet("fileprint"), i18n("Print File..."), KPRINTER_ID); // printer list - QPtrList<KMPrinter> *l = KMManager::self()->printerList(); + TQPtrList<KMPrinter> *l = KMManager::self()->printerList(); if (l && !l->isEmpty()) { bool separatorInserted = false; - QPtrListIterator<KMPrinter> it(*l); + TQPtrListIterator<KMPrinter> it(*l); for (; it.current(); ++it) { // no special, implicit or pure instances @@ -106,10 +106,10 @@ void PrintMenu::slotExec(int ID) kapp->kdeinitExec("kaddprinterwizard"); break; case KDEPRINT_SETTINGS_ID: - kapp->kdeinitExec("kaddprinterwizard", QStringList("--kdeconfig")); + kapp->kdeinitExec("kaddprinterwizard", TQStringList("--kdeconfig")); break; case CONFIG_SERVER_ID: - kapp->kdeinitExec("kaddprinterwizard", QStringList("--serverconfig")); + kapp->kdeinitExec("kaddprinterwizard", TQStringList("--serverconfig")); break; case PRINT_MANAGER_ID: KRun::runCommand("kcmshell kde-printers.desktop"); @@ -123,7 +123,7 @@ void PrintMenu::slotExec(int ID) default: { // start kjobviewer - QStringList args; + TQStringList args; args << "--show" << "-d" << text(ID).remove('&'); kapp->kdeinitExec("kjobviewer", args); } diff --git a/kicker/menuext/kdeprint/print_mnu.h b/kicker/menuext/kdeprint/print_mnu.h index a80da4be2..da795c039 100644 --- a/kicker/menuext/kdeprint/print_mnu.h +++ b/kicker/menuext/kdeprint/print_mnu.h @@ -32,7 +32,7 @@ class PrintMenu : public KPanelMenu, public KPReloadObject Q_OBJECT public: - PrintMenu(QWidget *parent, const char *name, const QStringList & /*args*/); + PrintMenu(TQWidget *parent, const char *name, const TQStringList & /*args*/); ~PrintMenu(); protected slots: |