diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-25 05:28:35 +0000 |
commit | f008adb5a77e094eaf6abf3fc0f36958e66896a5 (patch) | |
tree | 8e9244c4d4957c36be81e15b566b4aa5ea26c982 /krita/ui/kis_dlg_adjustment_layer.h | |
parent | 1210f27b660efb7b37ff43ec68763e85a403471f (diff) | |
download | koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.tar.gz koffice-f008adb5a77e094eaf6abf3fc0f36958e66896a5.zip |
TQt4 port koffice
This should enable compilation under both Qt3 and Qt4; fixes for any missed components will be forthcoming
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/koffice@1238284 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'krita/ui/kis_dlg_adjustment_layer.h')
-rw-r--r-- | krita/ui/kis_dlg_adjustment_layer.h | 31 |
1 files changed, 16 insertions, 15 deletions
diff --git a/krita/ui/kis_dlg_adjustment_layer.h b/krita/ui/kis_dlg_adjustment_layer.h index 93b32fda..4e20b8fd 100644 --- a/krita/ui/kis_dlg_adjustment_layer.h +++ b/krita/ui/kis_dlg_adjustment_layer.h @@ -22,14 +22,14 @@ #include <kdialogbase.h> class KisFilter; -class QIconViewItem; -class QLabel; -class QHBoxLayout; +class TQIconViewItem; +class TQLabel; +class TQHBoxLayout; class KisPreviewWidget; class KisFiltersListView; class KisFilterConfiguration; class KisImage; -class QGroupBox; +class TQGroupBox; /** * Create a new adjustment layer. @@ -38,6 +38,7 @@ class KisDlgAdjustmentLayer : public KDialogBase { Q_OBJECT + TQ_OBJECT public: @@ -49,35 +50,35 @@ public: * @param caption the caption for the dialog -- create or properties * @param create if true, set the dialog up for creating a new adj. layer, if false, edit the * propeties of the current adj. layer - * @param parent the widget parent of this dialog - * @param name the QObject name, if any + * @param tqparent the widget tqparent of this dialog + * @param name the TQObject name, if any */ KisDlgAdjustmentLayer(KisImage * img, - const QString & layerName, - const QString & caption, - QWidget *parent = 0, + const TQString & layerName, + const TQString & caption, + TQWidget *tqparent = 0, const char *name = 0); KisFilterConfiguration * filterConfiguration() const; - QString layerName() const; + TQString layerName() const; protected slots: - void slotNameChanged( const QString & ); + void slotNameChanged( const TQString & ); void slotConfigChanged(); void refreshPreview(); - void selectionHasChanged ( QIconViewItem * item ); + void selectionHasChanged ( TQIconViewItem * item ); private: KisImage * m_image; KisPaintDeviceSP m_dev; KisFiltersListView * m_filtersList; KisPreviewWidget * m_preview; - QGroupBox * m_configWidgetHolder; - QWidget * m_currentConfigWidget; + TQGroupBox * m_configWidgetHolder; + TQWidget * m_currentConfigWidget; KisFilter* m_currentFilter; KLineEdit * m_layerName; - QLabel* m_labelNoConfigWidget; + TQLabel* m_labelNoConfigWidget; bool m_customName; bool m_freezeName; }; |