summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-03-01 15:41:19 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-03-01 15:41:19 -0500
commit3301f60ce09331d688ba367011b1a552ef6e1393 (patch)
treecd6723b81de36b2d47f7641bf48fa3a8cdf78715
parentd77dfa19e49b99a2d72923e5a035b0d7ad17b8b7 (diff)
downloadsigen-3301f60ce09331d688ba367011b1a552ef6e1393.tar.gz
sigen-3301f60ce09331d688ba367011b1a552ef6e1393.tar.xz
sigen-3301f60ce09331d688ba367011b1a552ef6e1393.zip
Made widget interfaces private
-rw-r--r--sigmodr/widgets/AbilityUI.h29
-rw-r--r--sigmodr/widgets/AuthorUI.h13
-rw-r--r--sigmodr/widgets/BadgeUI.h33
-rw-r--r--sigmodr/widgets/CoinListItemUI.h17
-rw-r--r--sigmodr/widgets/CoinListUI.h20
-rw-r--r--sigmodr/widgets/EggGroupUI.h9
-rw-r--r--sigmodr/widgets/GameUI.h43
-rw-r--r--sigmodr/widgets/GlobalScriptUI.h20
-rw-r--r--sigmodr/widgets/ItemTypeUI.h20
-rw-r--r--sigmodr/widgets/ItemUI.h38
-rw-r--r--sigmodr/widgets/MapEffectUI.h27
-rw-r--r--sigmodr/widgets/MapTrainerTeamMemberUI.h32
-rw-r--r--sigmodr/widgets/MapTrainerUI.h32
-rw-r--r--sigmodr/widgets/MapUI.h15
-rw-r--r--sigmodr/widgets/MapWarpUI.h30
-rw-r--r--sigmodr/widgets/MapWildListEncounterUI.h15
-rw-r--r--sigmodr/widgets/MapWildListUI.h9
-rw-r--r--sigmodr/widgets/MoveUI.h44
-rw-r--r--sigmodr/widgets/NatureUI.h27
-rw-r--r--sigmodr/widgets/RulesUI.h50
-rw-r--r--sigmodr/widgets/SkinUI.h20
-rw-r--r--sigmodr/widgets/SoundUI.h33
-rw-r--r--sigmodr/widgets/SpeciesMoveUI.h15
-rw-r--r--sigmodr/widgets/SpeciesUI.h101
-rw-r--r--sigmodr/widgets/SpriteUI.h12
-rw-r--r--sigmodr/widgets/StatusUI.h22
-rw-r--r--sigmodr/widgets/StoreUI.h15
-rw-r--r--sigmodr/widgets/TileUI.h23
-rw-r--r--sigmodr/widgets/TimeUI.h23
-rw-r--r--sigmodr/widgets/TrainerUI.h28
-rw-r--r--sigmodr/widgets/TypeUI.h20
-rw-r--r--sigmodr/widgets/WeatherUI.h20
32 files changed, 64 insertions, 791 deletions
diff --git a/sigmodr/widgets/AbilityUI.h b/sigmodr/widgets/AbilityUI.h
index ba0b0f05..5ca66ea0 100644
--- a/sigmodr/widgets/AbilityUI.h
+++ b/sigmodr/widgets/AbilityUI.h
@@ -22,12 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KIntNumInput;
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Ability;
@@ -35,11 +29,6 @@ class Ability;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT AbilityUI : public ObjectUI
@@ -51,23 +40,9 @@ class SIGMODRWIDGETS_EXPORT AbilityUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void priorityChanged(const int priority);
- void descriptionChanged(const QString& description);
- void battleScriptChanged(const Sigcore::Script& battleScript);
- void worldScriptChanged(const Sigcore::Script& worldScript);
- void priorityScriptChanged(const Sigcore::Script& priorityScript);
private:
- KLineEdit* ui_name;
- KIntNumInput* ui_priority;
- KLineEdit* ui_description;
- CoreWidgets::ScriptWidget* ui_battleScript;
- CoreWidgets::ScriptWidget* ui_worldScript;
- CoreWidgets::ScriptWidget* ui_priorityScript;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/AuthorUI.h b/sigmodr/widgets/AuthorUI.h
index cdcf0138..0d7cecc0 100644
--- a/sigmodr/widgets/AuthorUI.h
+++ b/sigmodr/widgets/AuthorUI.h
@@ -22,7 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
namespace Sigmod
{
class Author;
@@ -41,17 +40,9 @@ class SIGMODRWIDGETS_EXPORT AuthorUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void emailChanged(const QString& email);
- void roleChanged(const QString& role);
private:
- KLineEdit* ui_name;
- KLineEdit* ui_email;
- KLineEdit* ui_role;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/BadgeUI.h b/sigmodr/widgets/BadgeUI.h
index 56bc1872..ade7654f 100644
--- a/sigmodr/widgets/BadgeUI.h
+++ b/sigmodr/widgets/BadgeUI.h
@@ -22,14 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
-class QTableWidget;
-namespace Sigcore
-{
-class Fraction;
-}
namespace Sigmod
{
class Badge;
@@ -37,12 +29,6 @@ class Badge;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class FractionWidget;
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT BadgeUI : public ObjectUI
@@ -54,24 +40,9 @@ class SIGMODRWIDGETS_EXPORT BadgeUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void obeyChanged(const int obey);
- void faceChanged(const int face);
- void badgeChanged(const int badge);
- void statChanged(const int row);
- void statMultiplierChanged(const Sigcore::Fraction& multiplier);
private:
- KLineEdit* ui_name;
- KIntNumInput* ui_obey;
- KComboBox* ui_face;
- KComboBox* ui_badge;
- QTableWidget* ui_stat;
- CoreWidgets::FractionWidget* ui_statMultiplier;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/CoinListItemUI.h b/sigmodr/widgets/CoinListItemUI.h
index 7a4f99f7..a4dd4cfd 100644
--- a/sigmodr/widgets/CoinListItemUI.h
+++ b/sigmodr/widgets/CoinListItemUI.h
@@ -22,9 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
-class QButtonGroup;
namespace Sigmod
{
class CoinListItem;
@@ -43,19 +40,9 @@ class SIGMODRWIDGETS_EXPORT CoinListItemUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void typeChanged(const int type);
- void objectChanged(const int object);
- void costChanged(const int cost);
private:
- QButtonGroup* ui_type;
- KComboBox* ui_object;
- KIntNumInput* ui_cost;
-
- bool m_lastType;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/CoinListUI.h b/sigmodr/widgets/CoinListUI.h
index 90167027..f07d3f04 100644
--- a/sigmodr/widgets/CoinListUI.h
+++ b/sigmodr/widgets/CoinListUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class CoinList;
@@ -34,11 +29,6 @@ class CoinList;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT CoinListUI : public ObjectUI
@@ -50,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT CoinListUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- CoreWidgets::ScriptWidget* ui_script;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/EggGroupUI.h b/sigmodr/widgets/EggGroupUI.h
index b1287470..97d86f4e 100644
--- a/sigmodr/widgets/EggGroupUI.h
+++ b/sigmodr/widgets/EggGroupUI.h
@@ -22,7 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
namespace Sigmod
{
class EggGroup;
@@ -41,13 +40,9 @@ class SIGMODRWIDGETS_EXPORT EggGroupUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
private:
- KLineEdit* ui_name;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/GameUI.h b/sigmodr/widgets/GameUI.h
index 5daf8849..e92e5dec 100644
--- a/sigmodr/widgets/GameUI.h
+++ b/sigmodr/widgets/GameUI.h
@@ -21,19 +21,7 @@
// Sigmodr widget includes
#include "ObjectUI.h"
-// Qt includes
-#include <QtCore/QModelIndex>
-
// Forward declarations
-class KLineEdit;
-class QCheckBox;
-class QLabel;
-class QTableView;
-namespace Sigcore
-{
-class Fraction;
-class Script;
-}
namespace Sigmod
{
class Game;
@@ -41,12 +29,6 @@ class Game;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class FractionWidget;
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT GameUI : public ObjectUI
@@ -58,30 +40,9 @@ class SIGMODRWIDGETS_EXPORT GameUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void titleChanged(const QString& title);
- void versionChanged(const QString& version);
- void descriptionChanged(const QString& description);
- void singlePlayerChanged(const bool singlePlayer);
- void startScriptChanged(const Sigcore::Script& startScript);
- void typechartChanged(const QModelIndex& index);
- void effectivenessChanged(const Sigcore::Fraction& multiplier);
private:
- KLineEdit* ui_title;
- KLineEdit* ui_version;
- KLineEdit* ui_description;
- QCheckBox* ui_singlePlayer;
- CoreWidgets::ScriptWidget* ui_startScript;
- QTableView* ui_typechart;
- QLabel* ui_labelTypes;
- CoreWidgets::FractionWidget* ui_effectiveness;
-
- bool m_changingMult;
- QModelIndex m_index;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/GlobalScriptUI.h b/sigmodr/widgets/GlobalScriptUI.h
index 90d49bad..b016a61a 100644
--- a/sigmodr/widgets/GlobalScriptUI.h
+++ b/sigmodr/widgets/GlobalScriptUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class GlobalScript;
@@ -34,11 +29,6 @@ class GlobalScript;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT GlobalScriptUI : public ObjectUI
@@ -50,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT GlobalScriptUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- CoreWidgets::ScriptWidget* ui_script;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/ItemTypeUI.h b/sigmodr/widgets/ItemTypeUI.h
index dc713970..920c1bd3 100644
--- a/sigmodr/widgets/ItemTypeUI.h
+++ b/sigmodr/widgets/ItemTypeUI.h
@@ -22,9 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
namespace Sigmod
{
class ItemType;
@@ -43,22 +40,9 @@ class SIGMODRWIDGETS_EXPORT ItemTypeUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void computerChanged(const int computer);
- void playerChanged(const int player);
- void maxWeightChanged(const int maxWeight);
- void countChanged(const int count);
private:
- KLineEdit* ui_name;
- KIntNumInput* ui_computer;
- KIntNumInput* ui_player;
- KIntNumInput* ui_maxWeight;
- KComboBox* ui_count;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/ItemUI.h b/sigmodr/widgets/ItemUI.h
index bac26352..b7319bf0 100644
--- a/sigmodr/widgets/ItemUI.h
+++ b/sigmodr/widgets/ItemUI.h
@@ -22,14 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
-class QCheckBox;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Item;
@@ -37,11 +29,6 @@ class Item;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT ItemUI : public ObjectUI
@@ -53,30 +40,9 @@ class SIGMODRWIDGETS_EXPORT ItemUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void sellableChanged(const bool sellable);
- void typeChanged(const int type);
- void priceChanged(const int price);
- void sellPriceChanged(const int sellPrice);
- void weightChanged(const int weight);
- void descriptionChanged(const QString& description);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- QCheckBox* ui_sellable;
- KComboBox* ui_type;
- KIntNumInput* ui_price;
- KIntNumInput* ui_sellPrice;
- KIntNumInput* ui_weight;
- KLineEdit* ui_description;
- CoreWidgets::ScriptWidget* ui_script;
-
- int m_lastType;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapEffectUI.h b/sigmodr/widgets/MapEffectUI.h
index c3ce1fe4..bf2a1c13 100644
--- a/sigmodr/widgets/MapEffectUI.h
+++ b/sigmodr/widgets/MapEffectUI.h
@@ -22,13 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KLineEdit;
-class QCheckBox;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class MapEffect;
@@ -36,11 +29,6 @@ class MapEffect;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT MapEffectUI : public ObjectUI
@@ -52,20 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapEffectUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void skinChanged(const int skin);
- void scriptChanged(const Sigcore::Script& script);
- void isGhostChanged(const bool isGhost);
private:
- KLineEdit* ui_name;
- KComboBox* ui_skin;
- CoreWidgets::ScriptWidget* ui_script;
- QCheckBox* ui_isGhost;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapTrainerTeamMemberUI.h b/sigmodr/widgets/MapTrainerTeamMemberUI.h
index 86d19e90..6704d30d 100644
--- a/sigmodr/widgets/MapTrainerTeamMemberUI.h
+++ b/sigmodr/widgets/MapTrainerTeamMemberUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KActionSelector;
-class KComboBox;
-class KIntNumInput;
-class QGroupBox;
-class QListWidgetItem;
namespace Sigmod
{
class MapTrainerTeamMember;
@@ -45,32 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapTrainerTeamMemberUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void speciesChanged(const int species);
- void levelChanged(const int level);
- void abilityAdded(QListWidgetItem* item);
- void abilityRemoved(QListWidgetItem* item);
- void itemAdded(QListWidgetItem* item);
- void itemRemoved(QListWidgetItem* item);
- void itemChanged(QListWidgetItem* item);
- void itemCountChanged(const int itemCount);
- void moveAdded(QListWidgetItem* item);
- void moveRemoved(QListWidgetItem* item);
- void natureAdded(QListWidgetItem* item);
- void natureRemoved(QListWidgetItem* item);
private:
- KComboBox* ui_species;
- KIntNumInput* ui_level;
- KActionSelector* ui_abilities;
- QGroupBox* ui_boxItems;
- KActionSelector* ui_items;
- KIntNumInput* ui_itemCount;
- KActionSelector* ui_moves;
- KActionSelector* ui_natures;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapTrainerUI.h b/sigmodr/widgets/MapTrainerUI.h
index e5c2b14b..5b1ab084 100644
--- a/sigmodr/widgets/MapTrainerUI.h
+++ b/sigmodr/widgets/MapTrainerUI.h
@@ -22,15 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KActionSelector;
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
-class QListWidgetItem;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class MapTrainer;
@@ -38,11 +29,6 @@ class MapTrainer;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT MapTrainerUI : public ObjectUI
@@ -54,23 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapTrainerUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void trainerClassChanged(const int trainerClass);
- void numberFightChanged(const int numberFight);
- void scriptChanged(const Sigcore::Script& script);
- void leadTeamMemberAdded(QListWidgetItem* item);
- void leadTeamMemberRemoved(QListWidgetItem* item);
private:
- KLineEdit* ui_name;
- KComboBox* ui_trainerClass;
- KIntNumInput* ui_numberFight;
- CoreWidgets::ScriptWidget* ui_script;
- KActionSelector* ui_leadTeamMembers;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapUI.h b/sigmodr/widgets/MapUI.h
index 868b8bf3..f6464039 100644
--- a/sigmodr/widgets/MapUI.h
+++ b/sigmodr/widgets/MapUI.h
@@ -22,8 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KLineEdit;
namespace Sigmod
{
class Map;
@@ -33,9 +31,6 @@ namespace Sigmodr
{
namespace Widgets
{
-class TileDelegate;
-class TilemapModel;
-
class SIGMODRWIDGETS_EXPORT MapUI : public ObjectUI
{
Q_OBJECT
@@ -45,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void typeChanged(const int type);
private:
- KLineEdit* ui_name;
- KComboBox* ui_type;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapWarpUI.h b/sigmodr/widgets/MapWarpUI.h
index 259bd8c3..17bef69b 100644
--- a/sigmodr/widgets/MapWarpUI.h
+++ b/sigmodr/widgets/MapWarpUI.h
@@ -22,12 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class MapWarp;
@@ -35,11 +29,6 @@ class MapWarp;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT MapWarpUI : public ObjectUI
@@ -51,24 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapWarpUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void typeChanged(const int type);
- void toMapChanged(const int toMap);
- void toWarpChanged(const int toWarp);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- KComboBox* ui_type;
- KComboBox* ui_toMap;
- KComboBox* ui_toWarp;
- CoreWidgets::ScriptWidget* ui_script;
-
- int m_lastMap;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapWildListEncounterUI.h b/sigmodr/widgets/MapWildListEncounterUI.h
index 674193fc..ad6fc7ea 100644
--- a/sigmodr/widgets/MapWildListEncounterUI.h
+++ b/sigmodr/widgets/MapWildListEncounterUI.h
@@ -22,8 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
namespace Sigmod
{
class MapWildListEncounter;
@@ -42,18 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapWildListEncounterUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void speciesChanged(const int species);
- void levelChanged(const int level);
- void weightChanged(const int weight);
private:
- KComboBox* ui_species;
- KIntNumInput* ui_level;
- KIntNumInput* ui_weight;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MapWildListUI.h b/sigmodr/widgets/MapWildListUI.h
index ddadbd86..2abafa95 100644
--- a/sigmodr/widgets/MapWildListUI.h
+++ b/sigmodr/widgets/MapWildListUI.h
@@ -22,7 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
namespace Sigmod
{
class MapWildList;
@@ -41,13 +40,9 @@ class SIGMODRWIDGETS_EXPORT MapWildListUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
private:
- KLineEdit* ui_name;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/MoveUI.h b/sigmodr/widgets/MoveUI.h
index ed8252dd..ee4465f9 100644
--- a/sigmodr/widgets/MoveUI.h
+++ b/sigmodr/widgets/MoveUI.h
@@ -22,15 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
-class QCheckBox;
-namespace Sigcore
-{
-class Fraction;
-class Script;
-}
namespace Sigmod
{
class Move;
@@ -38,12 +29,6 @@ class Move;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class FractionWidget;
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT MoveUI : public ObjectUI
@@ -55,34 +40,9 @@ class SIGMODRWIDGETS_EXPORT MoveUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void priorityChanged(const int priority);
- void accuracyChanged(const Sigcore::Fraction& accuracy);
- void powerChanged(const int power);
- void typeChanged(const int type);
- void powerPointsChanged(const int powerPoints);
- void specialChanged(const bool special);
- void descriptionChanged(const QString& description);
- void battleScriptChanged(const Sigcore::Script& battleScript);
- void worldScriptChanged(const Sigcore::Script& worldScript);
- void priorityScriptChanged(const Sigcore::Script& priorityScript);
private:
- KLineEdit* ui_name;
- KIntNumInput* ui_priority;
- CoreWidgets::FractionWidget* ui_accuracy;
- KIntNumInput* ui_power;
- KComboBox* ui_type;
- KIntNumInput* ui_powerPoints;
- QCheckBox* ui_special;
- KLineEdit* ui_description;
- CoreWidgets::ScriptWidget* ui_battleScript;
- CoreWidgets::ScriptWidget* ui_worldScript;
- CoreWidgets::ScriptWidget* ui_priorityScript;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/NatureUI.h b/sigmodr/widgets/NatureUI.h
index 49988227..3b55c33c 100644
--- a/sigmodr/widgets/NatureUI.h
+++ b/sigmodr/widgets/NatureUI.h
@@ -22,13 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KIntNumInput;
-class KLineEdit;
-class QTableWidget;
-namespace Sigcore
-{
-class Fraction;
-}
namespace Sigmod
{
class Nature;
@@ -36,11 +29,6 @@ class Nature;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class FractionWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT NatureUI : public ObjectUI
@@ -52,20 +40,9 @@ class SIGMODRWIDGETS_EXPORT NatureUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void statChanged(const int row);
- void statMultiplierChanged(const Sigcore::Fraction& multiplier);
- void weightChanged(const int weight);
private:
- KLineEdit* ui_name;
- QTableWidget* ui_stat;
- CoreWidgets::FractionWidget* ui_statMultiplier;
- KIntNumInput* ui_weight;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/RulesUI.h b/sigmodr/widgets/RulesUI.h
index afa38b2c..f2e4165b 100644
--- a/sigmodr/widgets/RulesUI.h
+++ b/sigmodr/widgets/RulesUI.h
@@ -22,8 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KIntNumInput;
-class QCheckBox;
namespace Sigmod
{
class Rules;
@@ -42,53 +40,9 @@ class SIGMODRWIDGETS_EXPORT RulesUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void gendersChanged(const bool genders);
- void breedingChanged(const bool breeding);
- void criticalDomainsChanged(const bool criticalDomains);
- void splitSpecialChanged(const bool specialSplit);
- void splitSpecialDVChanged(const bool specialSplitDV);
- void effortValuesChanged(const bool effortValues);
- void maxEVChanged(const int maxEV);
- void maxEVPerStatChanged(const int maxEVPerStat);
- void boxesChanged(const int boxes);
- void boxSizeChanged(const int boxSize);
- void maxPartyChanged(const int maxParty);
- void maxFightChanged(const int maxFight);
- void maxPlayersChanged(const int maxPlayers);
- void maxMovesChanged(const int maxMoves);
- void maxLevelChanged(const int maxLevel);
- void maxHeldItemsChanged(const int maxHeldItems);
- void maxNaturesChanged(const int maxNatures);
- void maxAbilitiesChanged(const int maxAbilities);
- void maxStagesChanged(const int maxStages);
- void maxMoneyChanged(const int maxMoney);
- void maxTotalWeightChanged(const int maxTotalWeight);
private:
- QCheckBox* ui_genders;
- QCheckBox* ui_breeding;
- QCheckBox* ui_criticalDomains;
- QCheckBox* ui_splitSpecial;
- QCheckBox* ui_splitSpecialDV;
- QCheckBox* ui_effortValues;
- KIntNumInput* ui_maxEV;
- KIntNumInput* ui_maxEVPerStat;
- KIntNumInput* ui_boxes;
- KIntNumInput* ui_boxSize;
- KIntNumInput* ui_maxParty;
- KIntNumInput* ui_maxFight;
- KIntNumInput* ui_maxPlayers;
- KIntNumInput* ui_maxMoves;
- KIntNumInput* ui_maxLevel;
- KIntNumInput* ui_maxHeldItems;
- KIntNumInput* ui_maxNatures;
- KIntNumInput* ui_maxAbilities;
- KIntNumInput* ui_maxStages;
- KIntNumInput* ui_maxMoney;
- KIntNumInput* ui_maxTotalWeight;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/SkinUI.h b/sigmodr/widgets/SkinUI.h
index 8bf49749..695e7076 100644
--- a/sigmodr/widgets/SkinUI.h
+++ b/sigmodr/widgets/SkinUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Skin;
@@ -34,11 +29,6 @@ class Skin;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT SkinUI : public ObjectUI
@@ -50,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT SkinUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- CoreWidgets::ScriptWidget* ui_script;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/SoundUI.h b/sigmodr/widgets/SoundUI.h
index 3edd1226..91a88fd4 100644
--- a/sigmodr/widgets/SoundUI.h
+++ b/sigmodr/widgets/SoundUI.h
@@ -21,19 +21,7 @@
// Sigmodr widget includes
#include "ObjectUI.h"
-// Phonon includes
-#include <Phonon/Global>
-
// Forward declarations
-class KLineEdit;
-class KPushButton;
-class QBuffer;
-class QLabel;
-namespace Phonon
-{
-class AudioOutput;
-class MediaObject;
-}
namespace Sigmod
{
class Sound;
@@ -53,26 +41,9 @@ class SIGMODRWIDGETS_EXPORT SoundUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void browse();
-
- void stateChanged(Phonon::State newState);
- void resetAudioData();
- void tick(qint64 time);
private:
- KLineEdit* ui_name;
- QLabel* ui_time;
- KPushButton* ui_play;
- KPushButton* ui_stop;
-
- Phonon::AudioOutput* m_output;
- Phonon::MediaObject* m_media;
- QBuffer* m_buffer;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/SpeciesMoveUI.h b/sigmodr/widgets/SpeciesMoveUI.h
index 143df223..d919a4a9 100644
--- a/sigmodr/widgets/SpeciesMoveUI.h
+++ b/sigmodr/widgets/SpeciesMoveUI.h
@@ -22,8 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
namespace Sigmod
{
class SpeciesMove;
@@ -42,18 +40,9 @@ class SIGMODRWIDGETS_EXPORT SpeciesMoveUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void moveChanged(const int move);
- void levelChanged(const int level);
- void wildLevelChanged(const int wildLevel);
private:
- KComboBox* ui_move;
- KIntNumInput* ui_level;
- KIntNumInput* ui_wildLevel;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/SpeciesUI.h b/sigmodr/widgets/SpeciesUI.h
index 73c3be7c..918fb20d 100644
--- a/sigmodr/widgets/SpeciesUI.h
+++ b/sigmodr/widgets/SpeciesUI.h
@@ -22,19 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KActionSelector;
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
-class QCheckBox;
-class QGroupBox;
-class QListWidgetItem;
-class QTableWidget;
-namespace Sigcore
-{
-class Fraction;
-class Script;
-}
namespace Sigmod
{
class Species;
@@ -42,12 +29,6 @@ class Species;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class FractionWidget;
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT SpeciesUI : public ObjectUI
@@ -59,87 +40,9 @@ class SIGMODRWIDGETS_EXPORT SpeciesUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void baseStatChanged(const int row);
- void baseStatValueChanged(const int baseStat);
- void effortValueChanged(const int row);
- void effortValueValueChanged(const int effortValue);
- void growthChanged(const int growth);
- void experienceValueChanged(const int experienceValue);
- void catchValueChanged(const int catchValue);
- void maxHoldWeightChanged(const int maxHoldWeight);
- void runChanceChanged(const Sigcore::Fraction& runChance);
- void fleeChanceChanged(const Sigcore::Fraction& fleeChance);
- void itemChanceChanged(const Sigcore::Fraction& itemChance);
- void encyclopediaNumberChanged(const int encyclopediaNumber);
- void weightChanged(const int weight);
- void heightChanged(const int height);
- void encyclopediaEntryChanged(const QString& encyclopediaEntry);
- void maleFrontChanged(const int maleFront);
- void maleBackChanged(const int maleBack);
- void femaleFrontChanged(const int femaleFront);
- void femaleBackChanged(const int femaleBack);
- void skinChanged(const int skin);
- void hasGenderChanged(const bool hasGender);
- void genderChanceChanged(const Sigcore::Fraction& genderChance);
- void eggSpeciesChanged(const int eggSpecies);
- void eggStepsChanged(const int eggSteps);
- void evolutionChanged(const Sigcore::Script& evolution);
- void typeAdded(QListWidgetItem* item);
- void typeRemoved(QListWidgetItem* item);
- void eggGroupAdded(QListWidgetItem* item);
- void eggGroupRemoved(QListWidgetItem* item);
- void abilityAdded(QListWidgetItem* item);
- void abilityRemoved(QListWidgetItem* item);
- void abilityChanged(QListWidgetItem* item);
- void abilityWeightChanged(const int abilityWeight);
- void itemAdded(QListWidgetItem* item);
- void itemRemoved(QListWidgetItem* item);
- void itemChanged(QListWidgetItem* item);
- void itemWeightChanged(const int itemWeight);
private:
- KLineEdit* ui_name;
- QTableWidget* ui_baseStat;
- KIntNumInput* ui_baseStatValue;
- QGroupBox* ui_boxEffortValues;
- QTableWidget* ui_effortValue;
- KIntNumInput* ui_effortValueValue;
- KComboBox* ui_growth;
- KIntNumInput* ui_experienceValue;
- KIntNumInput* ui_catchValue;
- KIntNumInput* ui_maxHoldWeight;
- CoreWidgets::FractionWidget* ui_runChance;
- CoreWidgets::FractionWidget* ui_fleeChance;
- CoreWidgets::FractionWidget* ui_itemChance;
- KIntNumInput* ui_encyclopediaNumber;
- KIntNumInput* ui_weight;
- KIntNumInput* ui_height;
- KLineEdit* ui_encyclopediaEntry;
- KComboBox* ui_maleFront;
- KComboBox* ui_maleBack;
- KComboBox* ui_femaleFront;
- KComboBox* ui_femaleBack;
- KComboBox* ui_skin;
- QWidget* ui_genetics;
- QCheckBox* ui_hasGender;
- CoreWidgets::FractionWidget* ui_genderChance;
- QGroupBox* ui_boxEggGroups;
- KComboBox* ui_eggSpecies;
- KIntNumInput* ui_eggSteps;
- CoreWidgets::ScriptWidget* ui_evolution;
- KActionSelector* ui_types;
- KActionSelector* ui_eggGroups;
- QGroupBox* ui_boxAbilities;
- KActionSelector* ui_abilities;
- KIntNumInput* ui_abilityWeight;
- QGroupBox* ui_boxItems;
- KActionSelector* ui_items;
- KIntNumInput* ui_itemWeight;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/SpriteUI.h b/sigmodr/widgets/SpriteUI.h
index ab9fb7bf..b348bdcf 100644
--- a/sigmodr/widgets/SpriteUI.h
+++ b/sigmodr/widgets/SpriteUI.h
@@ -22,8 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-class QLabel;
namespace Sigmod
{
class Sprite;
@@ -42,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT SpriteUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void browse();
private:
- KLineEdit* ui_name;
- QLabel* ui_sprite;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/StatusUI.h b/sigmodr/widgets/StatusUI.h
index cfa4246c..3026c51d 100644
--- a/sigmodr/widgets/StatusUI.h
+++ b/sigmodr/widgets/StatusUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Status;
@@ -34,11 +29,6 @@ class Status;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT StatusUI : public ObjectUI
@@ -50,17 +40,9 @@ class SIGMODRWIDGETS_EXPORT StatusUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void battleScriptChanged(const Sigcore::Script& battleScript);
- void worldScriptChanged(const Sigcore::Script& worldScript);
private:
- KLineEdit* ui_name;
- CoreWidgets::ScriptWidget* ui_battleScript;
- CoreWidgets::ScriptWidget* ui_worldScript;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/StoreUI.h b/sigmodr/widgets/StoreUI.h
index f736278c..ced846ad 100644
--- a/sigmodr/widgets/StoreUI.h
+++ b/sigmodr/widgets/StoreUI.h
@@ -22,9 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KActionSelector;
-class KLineEdit;
-class QListWidgetItem;
namespace Sigmod
{
class Store;
@@ -43,17 +40,9 @@ class SIGMODRWIDGETS_EXPORT StoreUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void itemAdded(QListWidgetItem* item);
- void itemRemoved(QListWidgetItem* item);
private:
- KLineEdit* ui_name;
- KActionSelector* ui_items;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/TileUI.h b/sigmodr/widgets/TileUI.h
index 39f9358e..af679a84 100644
--- a/sigmodr/widgets/TileUI.h
+++ b/sigmodr/widgets/TileUI.h
@@ -22,12 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-class QCheckBox;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Tile;
@@ -35,11 +29,6 @@ class Tile;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT TileUI : public ObjectUI
@@ -51,17 +40,9 @@ class SIGMODRWIDGETS_EXPORT TileUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void walkableChanged(const bool walkable);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- QCheckBox* ui_walkable;
- CoreWidgets::ScriptWidget* ui_script;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/TimeUI.h b/sigmodr/widgets/TimeUI.h
index 84b8f0c4..7b14541c 100644
--- a/sigmodr/widgets/TimeUI.h
+++ b/sigmodr/widgets/TimeUI.h
@@ -22,12 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-class QTimeEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Time;
@@ -35,11 +29,6 @@ class Time;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT TimeUI : public ObjectUI
@@ -51,17 +40,9 @@ class SIGMODRWIDGETS_EXPORT TimeUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void timeChanged(const QTime& time);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- QTimeEdit* ui_time;
- CoreWidgets::ScriptWidget* ui_script;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/TrainerUI.h b/sigmodr/widgets/TrainerUI.h
index 057e0436..4c0c6168 100644
--- a/sigmodr/widgets/TrainerUI.h
+++ b/sigmodr/widgets/TrainerUI.h
@@ -22,9 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KComboBox;
-class KIntNumInput;
-class KLineEdit;
namespace Sigmod
{
class Trainer;
@@ -43,30 +40,9 @@ class SIGMODRWIDGETS_EXPORT TrainerUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void moneyFactorChanged(const int moneyFactor);
- void skinChanged(const int skin);
- void depthChanged(const int depth);
- void teamIntelChanged(const int teamIntel);
- void moveIntelChanged(const int moveIntel);
- void itemIntelChanged(const int itemIntel);
- void abilityIntelChanged(const int abilityIntel);
- void statIntelChanged(const int statIntel);
private:
- KLineEdit* ui_name;
- KIntNumInput* ui_moneyFactor;
- KComboBox* ui_skin;
- KIntNumInput* ui_depth;
- KComboBox* ui_teamIntel;
- KComboBox* ui_moveIntel;
- KComboBox* ui_itemIntel;
- KComboBox* ui_abilityIntel;
- KComboBox* ui_statIntel;
- private slots:
- void initGui();
- void refreshGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/TypeUI.h b/sigmodr/widgets/TypeUI.h
index 313a5ff1..d91a65e0 100644
--- a/sigmodr/widgets/TypeUI.h
+++ b/sigmodr/widgets/TypeUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-namespace Sigcore
-{
-class Fraction;
-}
namespace Sigmod
{
class Type;
@@ -34,11 +29,6 @@ class Type;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class FractionWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT TypeUI : public ObjectUI
@@ -50,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT TypeUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void stabChanged(const Sigcore::Fraction& stab);
private:
- KLineEdit* ui_name;
- CoreWidgets::FractionWidget* ui_stab;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}
diff --git a/sigmodr/widgets/WeatherUI.h b/sigmodr/widgets/WeatherUI.h
index ab3d0f5f..b543ef79 100644
--- a/sigmodr/widgets/WeatherUI.h
+++ b/sigmodr/widgets/WeatherUI.h
@@ -22,11 +22,6 @@
#include "ObjectUI.h"
// Forward declarations
-class KLineEdit;
-namespace Sigcore
-{
-class Script;
-}
namespace Sigmod
{
class Weather;
@@ -34,11 +29,6 @@ class Weather;
namespace Sigmodr
{
-namespace CoreWidgets
-{
-class ScriptWidget;
-}
-
namespace Widgets
{
class SIGMODRWIDGETS_EXPORT WeatherUI : public ObjectUI
@@ -50,15 +40,9 @@ class SIGMODRWIDGETS_EXPORT WeatherUI : public ObjectUI
public slots:
void apply();
void discard();
- protected slots:
- void nameChanged(const QString& name);
- void scriptChanged(const Sigcore::Script& script);
private:
- KLineEdit* ui_name;
- CoreWidgets::ScriptWidget* ui_script;
- private slots:
- void initGui();
- void setGui();
+ class Private;
+ Private* const d;
};
}
}