diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:18 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:12:18 -0600 |
commit | ee52bb567f32fefdcf06e083c76562ea40ccf174 (patch) | |
tree | 8926667faaed3a18bec210ec14ffb9392ea8930d /kig/modes | |
parent | 088cc453ec425bf86d610880d09645ea166a14fa (diff) | |
download | tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.tar.gz tdeedu-ee52bb567f32fefdcf06e083c76562ea40ccf174.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kig/modes')
-rw-r--r-- | kig/modes/popup.cc | 4 | ||||
-rw-r--r-- | kig/modes/popup.h | 4 | ||||
-rw-r--r-- | kig/modes/typesdialog.cpp | 4 | ||||
-rw-r--r-- | kig/modes/typesdialogbase.ui | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/kig/modes/popup.cc b/kig/modes/popup.cc index ba778f43..b55adafb 100644 --- a/kig/modes/popup.cc +++ b/kig/modes/popup.cc @@ -185,7 +185,7 @@ NormalModePopupObjects::NormalModePopupObjects( KigPart& part, NormalMode& mode, const std::vector<ObjectHolder*>& objs, const TQPoint& plc ) - : KPopupMenu( &view ), mplc( plc ), mpart( part ), mview( view ), mobjs( objs ), + : TDEPopupMenu( &view ), mplc( plc ), mpart( part ), mview( view ), mobjs( objs ), mmode( mode ), monlylabels( false ) { bool empty = objs.empty(); @@ -1177,7 +1177,7 @@ int ObjectChooserPopup::getObjectFromList( const TQPoint& p, KigWidget* w, ObjectChooserPopup::ObjectChooserPopup( const TQPoint& p, KigWidget& view, const std::vector<ObjectHolder*>& objs ) - : KPopupMenu(), mplc( p ), mview( view ), mobjs( objs ), mselected( -1 ) + : TDEPopupMenu(), mplc( p ), mview( view ), mobjs( objs ), mselected( -1 ) { for ( uint i = 0; i < mobjs.size(); i++ ) { diff --git a/kig/modes/popup.h b/kig/modes/popup.h index 3485bbea..d1fb89d5 100644 --- a/kig/modes/popup.h +++ b/kig/modes/popup.h @@ -44,7 +44,7 @@ class ObjectHolder; * PopupActionProviders are disabled, and some others enabled.. */ class NormalModePopupObjects - : public KPopupMenu + : public TDEPopupMenu { Q_OBJECT @@ -115,7 +115,7 @@ private: * You can't use this class directly, but these's a convenience method. */ class ObjectChooserPopup - : public KPopupMenu + : public TDEPopupMenu { Q_OBJECT diff --git a/kig/modes/typesdialog.cpp b/kig/modes/typesdialog.cpp index db30d652..917a46fc 100644 --- a/kig/modes/typesdialog.cpp +++ b/kig/modes/typesdialog.cpp @@ -50,11 +50,11 @@ class MacroListElement { Macro* macro; public: - MacroListElement( KListView* lv, Macro* m ); + MacroListElement( TDEListView* lv, Macro* m ); Macro* getMacro() const { return macro; } }; -MacroListElement::MacroListElement( KListView* lv, Macro* m ) +MacroListElement::MacroListElement( TDEListView* lv, Macro* m ) : TQListViewItem( lv, TQString(), m->action->descriptiveName(), m->action->description() ), macro( m ) { diff --git a/kig/modes/typesdialogbase.ui b/kig/modes/typesdialogbase.ui index 90216532..0a74d56d 100644 --- a/kig/modes/typesdialogbase.ui +++ b/kig/modes/typesdialogbase.ui @@ -36,7 +36,7 @@ <property name="name"> <cstring>unnamed</cstring> </property> - <widget class="KListView"> + <widget class="TDEListView"> <column> <property name="text"> <string>Icon</string> |