summaryrefslogtreecommitdiffstats
path: root/kdeprint/management/kmjobviewer.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:46:43 +0000
commitffe8a83e053396df448e9413828527613ca3bd46 (patch)
treea73d4169e02df4a50f9a12cb165fcd0ab5bac7c6 /kdeprint/management/kmjobviewer.h
parent682bf3bfdcbcbb1fca85e8a36ed03e062e0555d5 (diff)
downloadtdelibs-ffe8a83e053396df448e9413828527613ca3bd46.tar.gz
tdelibs-ffe8a83e053396df448e9413828527613ca3bd46.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1157647 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdeprint/management/kmjobviewer.h')
-rw-r--r--kdeprint/management/kmjobviewer.h30
1 files changed, 15 insertions, 15 deletions
diff --git a/kdeprint/management/kmjobviewer.h b/kdeprint/management/kmjobviewer.h
index 69a3f27d6..9cdf6aceb 100644
--- a/kdeprint/management/kmjobviewer.h
+++ b/kdeprint/management/kmjobviewer.h
@@ -50,19 +50,19 @@ class KDEPRINT_EXPORT KMJobViewer : public KMainWindow, public KMPrinterPage, pu
{
Q_OBJECT
public:
- KMJobViewer(QWidget *parent = 0, const char *name = 0);
+ KMJobViewer(TQWidget *parent = 0, const char *name = 0);
~KMJobViewer();
- void setPrinter(const QString& prname);
+ void setPrinter(const TQString& prname);
void setPrinter(KMPrinter *p);
void refresh(bool reload = false);
- QString printer() const;
+ TQString printer() const;
bool isSticky() const;
signals:
void jobsShown(KMJobViewer*, bool hasJobs);
void refreshClicked();
- void printerChanged(KMJobViewer*, const QString& prname);
+ void printerChanged(KMJobViewer*, const TQString& prname);
void viewerDestroyed(KMJobViewer*);
public slots:
@@ -74,7 +74,7 @@ protected slots:
void slotResume();
void slotRemove();
void slotRestart();
- void slotRightClicked(QListViewItem*,const QPoint&,int);
+ void slotRightClicked(TQListViewItem*,const TQPoint&,int);
void slotMove(int prID);
void slotPrinterSelected(int);
void slotShowCompleted(bool);
@@ -85,34 +85,34 @@ protected slots:
void slotUserOnly(bool);
void slotUserChanged();
void slotConfigure();
- void slotDropped( QDropEvent*, QListViewItem* );
+ void slotDropped( TQDropEvent*, TQListViewItem* );
protected:
void init();
void updateJobs();
void initActions();
- JobItem* findItem(const QString& uri);
- void jobSelection(QPtrList<KMJob>& l);
- void send(int cmd, const QString& name, const QString& arg = QString::null);
+ JobItem* findItem(const TQString& uri);
+ void jobSelection(TQPtrList<KMJob>& l);
+ void send(int cmd, const TQString& name, const TQString& arg = TQString::null);
void loadPrinters();
void loadPluginActions();
void removePluginActions();
void reload();
//void aboutToReload();
- void closeEvent(QCloseEvent*);
+ void closeEvent(TQCloseEvent*);
void triggerRefresh();
void addToManager();
void removeFromManager();
- void buildPrinterMenu(QPopupMenu *menu, bool use_all = false, bool use_specials = false);
+ void buildPrinterMenu(TQPopupMenu *menu, bool use_all = false, bool use_specials = false);
void updateCaption();
void updateStatusBar();
private:
KListView *m_view;
- QPtrList<KMJob> m_jobs;
- QPtrList<JobItem> m_items;
+ TQPtrList<KMJob> m_jobs;
+ TQPtrList<JobItem> m_items;
QPopupMenu *m_pop;
- QPtrList<KMPrinter> m_printers;
+ TQPtrList<KMPrinter> m_printers;
QString m_prname;
int m_type;
QString m_username;
@@ -121,7 +121,7 @@ private:
bool m_standalone;
};
-inline QString KMJobViewer::printer() const
+inline TQString KMJobViewer::printer() const
{ return m_prname; }
#endif